From e476bc02d32af7510ceebee98c40d2203dbc37a2 Mon Sep 17 00:00:00 2001 From: Maxime Buquet Date: Sat, 14 Jul 2018 00:00:23 +0900 Subject: [PATCH] Update makefile with drafts rule --- .gitignore | 1 + Makefile | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 364fdec..51505e0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ public/ +drafts/ diff --git a/Makefile b/Makefile index b98ca2c..17a0f73 100644 --- a/Makefile +++ b/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 #