Update makefile with drafts rule

This commit is contained in:
Maxime Buquet 2018-07-14 00:00:23 +09:00
parent ac843591ff
commit e476bc02d3
2 changed files with 7 additions and 1 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
public/ public/
drafts/

View file

@ -5,7 +5,12 @@
all: all:
rm -rf public 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 # vim:ft=make
# #