summaryrefslogtreecommitdiff
path: root/semaphoreci.sh
diff options
context:
space:
mode:
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() {