Add helper scripts
This commit is contained in:
parent
bc17e309e8
commit
aa69c8b9ea
2 changed files with 14 additions and 0 deletions
7
scripts/build.sh
Executable file
7
scripts/build.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf public/
|
||||
|
||||
hugo -vDEF --gc $@
|
7
scripts/server.sh
Executable file
7
scripts/server.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
bash ./scripts/build.sh
|
||||
|
||||
hugo server --noHTTPCache --disableFastRender --gc
|
Reference in a new issue