From 9ced1aeb813a2f662b53f2509ec083dd6bbc55e6 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 1 Mar 2019 11:28:46 +0000 Subject: [PATCH] Update scripts --- scripts/build.sh | 2 +- scripts/common.sh | 2 ++ scripts/watch.sh | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index 427dc820..b1b7f310 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -2,4 +2,4 @@ . scripts/common.sh -${SCRIPTDIR}/../vendor/bin/sculpin generate --clean --no-interaction $@ +$SCULPIN generate --clean --no-interaction $@ diff --git a/scripts/common.sh b/scripts/common.sh index 55bdc129..5f2051d3 100644 --- a/scripts/common.sh +++ b/scripts/common.sh @@ -6,3 +6,5 @@ realpath() { SCRIPTPATH=$(realpath "$0") SCRIPTDIR=$(dirname $SCRIPTPATH) + +SCULPIN="$SCRIPTDIR/../vendor/bin/sculpin" diff --git a/scripts/watch.sh b/scripts/watch.sh index 60d5f247..40e37590 100755 --- a/scripts/watch.sh +++ b/scripts/watch.sh @@ -2,4 +2,4 @@ . scripts/common.sh -${SCRIPTDIR}/../vendor/bin/sculpin generate --server --watch --clean --no-interaction $@ +$SCULPIN generate --server --watch --clean --no-interaction $@