1
Fork 0

Add helper scripts

This commit is contained in:
Jake Howard 2019-09-21 16:11:06 +01:00
parent bc17e309e8
commit aa69c8b9ea
Signed by: jake
GPG Key ID: 57AFB45680EDD477
2 changed files with 14 additions and 0 deletions

7
scripts/build.sh Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -e
rm -rf public/
hugo -vDEF --gc $@

7
scripts/server.sh Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -e
bash ./scripts/build.sh
hugo server --noHTTPCache --disableFastRender --gc