Use regular bash things to pass in extra arguments
This commit is contained in:
parent
e4c0ef7f2a
commit
48cae84b96
2 changed files with 2 additions and 4 deletions
|
@ -26,7 +26,7 @@ browserify $STATIC_SRC/js/sentry.js -t envify -o $STATIC_BUILD/js/sentry.js
|
||||||
cp -r $STATIC_SRC/scss $STATIC_BUILD/scss
|
cp -r $STATIC_SRC/scss $STATIC_BUILD/scss
|
||||||
hugo gen chromastyles --style=monokai > $STATIC_BUILD/css/highlight.css
|
hugo gen chromastyles --style=monokai > $STATIC_BUILD/css/highlight.css
|
||||||
|
|
||||||
hugo -vDEF --gc $HUGO_ARGS
|
hugo -vDEF --gc $@
|
||||||
|
|
||||||
cp $BASEDIR/static/keybase.txt $OUTPUT_DIR/keybase.txt
|
cp $BASEDIR/static/keybase.txt $OUTPUT_DIR/keybase.txt
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,4 @@ set -e
|
||||||
|
|
||||||
source ./scripts/common.sh
|
source ./scripts/common.sh
|
||||||
|
|
||||||
export HUGO_ARGS="--minify"
|
./scripts/build.sh --minify
|
||||||
|
|
||||||
./scripts/build.sh
|
|
||||||
|
|
Loading…
Reference in a new issue