Delete content of public and drafts folders, not the folders themselves

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2018-08-28 23:58:45 +01:00
parent 769375f883
commit 3207cd3b1e
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -4,11 +4,11 @@
# #
all: all:
rm -rf public rm -rf public/*
hugo --debug --destination public hugo --debug --destination public
drafts: drafts:
rm -rf drafts rm -rf drafts/*
hugo --debug --baseUrl "https://test.bouah.net" \ hugo --debug --baseUrl "https://test.bouah.net" \
--buildDrafts --buildFuture --destination drafts --buildDrafts --buildFuture --destination drafts