summaryrefslogtreecommitdiff
path: root/semaphoreci.sh
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2020-01-01 10:58:11 +0100
committerEugen Wissner <belka@caraus.de>2020-01-01 10:58:11 +0100
commitdd8f312cb3b0478a3f1e6215c73f47d49180be65 (patch)
tree08aeba58c19e6800fd6361e7605a591871116389 /semaphoreci.sh
parentd82d5a36b32934bfeb99bf8c99637977dfe725b4 (diff)
downloadgraphql-dd8f312cb3b0478a3f1e6215c73f47d49180be65.tar.gz
Rewrite argument list to argument map
Diffstat (limited to 'semaphoreci.sh')
-rwxr-xr-xsemaphoreci.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/semaphoreci.sh b/semaphoreci.sh
index c14bd56..eb9ef38 100755
--- a/semaphoreci.sh
+++ b/semaphoreci.sh
@@ -8,7 +8,12 @@ setup() {
then
curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C $SEMAPHORE_CACHE_DIR '*/stack'
fi
+ if [ -e "$SEMAPHORE_CACHE_DIR/graphql.cabal" ]
+ then
+ cp -a $SEMAPHORE_CACHE_DIR/graphql.cabal graphql.cabal
+ fi
$STACK --no-terminal setup
+ cp -a graphql.cabal $SEMAPHORE_CACHE_DIR/graphql.cabal
}
setup_test() {