Add 'serve' rule in Makefile
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
cd1c5bc0c1
commit
fc13e2a126
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -12,5 +12,9 @@ drafts:
|
|||
hugo --debug --baseUrl "https://test.bouah.net" \
|
||||
--buildDrafts --buildFuture --destination drafts
|
||||
|
||||
serve:
|
||||
rm -rf drafts
|
||||
hugo serve --debug --buildDrafts --buildFuture
|
||||
|
||||
# vim:ft=make
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue