Add clean recipe
This commit is contained in:
parent
985b83c197
commit
89fcfd5dbe
1 changed files with 5 additions and 2 deletions
7
justfile
7
justfile
|
@ -1,11 +1,14 @@
|
||||||
build:
|
build:
|
||||||
hugo build --cleanDestinationDir
|
hugo build --cleanDestinationDir
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -r public
|
||||||
|
|
||||||
dev:
|
dev:
|
||||||
hugo --buildDrafts --buildFuture server
|
hugo --buildDrafts --buildFuture server
|
||||||
|
|
||||||
post filename:
|
blog filename:
|
||||||
hugo new blog/$(date +%Y/%m/%d)/{{filename}}.md
|
hugo new blog/$(date +%Y/%m/%d)/{{filename}}.md
|
||||||
|
|
||||||
publish: build
|
publish: clean build
|
||||||
neocities push --prune public
|
neocities push --prune public
|
||||||
|
|
Loading…
Add table
Reference in a new issue