From 48cae84b967cbd0cd8f41ecfa6d78692e515621c Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 27 Oct 2019 22:40:52 +0000 Subject: [PATCH] Use regular bash things to pass in extra arguments --- scripts/build.sh | 2 +- scripts/release.sh | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index d0b86b2..b3132bd 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -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 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 diff --git a/scripts/release.sh b/scripts/release.sh index f845add..f56308d 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -4,6 +4,4 @@ set -e source ./scripts/common.sh -export HUGO_ARGS="--minify" - -./scripts/build.sh +./scripts/build.sh --minify