Browse Source

Add helper scripts

master
Jake Howard 2 years ago
parent
commit
aa69c8b9ea
Signed by: theorangeone GPG Key ID: 57AFB45680EDD477
  1. 7
      scripts/build.sh
  2. 7
      scripts/server.sh

7
scripts/build.sh

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

7
scripts/server.sh

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