Add clean make target
This commit is contained in:
parent
e5413bf01d
commit
29abc59721
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -1,6 +1,6 @@
|
||||||
all: compile compress upload superfeedr
|
all: compile compress upload superfeedr
|
||||||
|
|
||||||
compile:
|
compile: clean
|
||||||
@echo "=== Generating static files"
|
@echo "=== Generating static files"
|
||||||
@bundle exec jekyll build --lsi
|
@bundle exec jekyll build --lsi
|
||||||
@echo "Done."
|
@echo "Done."
|
||||||
|
@ -23,3 +23,6 @@ superfeedr:
|
||||||
@curl -X POST https://kempkens.superfeedr.com -d "hub.mode=publish" -d "hub.url=https://blog.kempkens.io/feed.xml"
|
@curl -X POST https://kempkens.superfeedr.com -d "hub.mode=publish" -d "hub.url=https://blog.kempkens.io/feed.xml"
|
||||||
@curl -X POST https://kempkens.superfeedr.com -d "hub.mode=publish" -d "hub.url=https://blog.kempkens.io/feed-with-links.xml"
|
@curl -X POST https://kempkens.superfeedr.com -d "hub.mode=publish" -d "hub.url=https://blog.kempkens.io/feed-with-links.xml"
|
||||||
@echo "Done."
|
@echo "Done."
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@rm -rf ./_site
|
||||||
|
|
Loading…
Reference in a new issue