Update makefile with drafts rule
This commit is contained in:
parent
ac843591ff
commit
e476bc02d3
2 changed files with 7 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
public/
|
||||
drafts/
|
||||
|
|
7
Makefile
7
Makefile
|
@ -5,7 +5,12 @@
|
|||
|
||||
all:
|
||||
rm -rf public
|
||||
hugo --baseURL "https://test.bouah.net" --buildDrafts --debug
|
||||
hugo --debug --destination public
|
||||
|
||||
drafts:
|
||||
rm -rf drafts
|
||||
hugo --debug --baseUrl "https://test.bouah.net" \
|
||||
--buildDrafts --buildFuture --destination drafts
|
||||
|
||||
# vim:ft=make
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue