From 0d142fb01c6cd88e8a15e312c0be0607d78c6c54 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Mon, 30 Sep 2019 07:09:58 +0200 Subject: [PATCH] Set STACK_ROOT to cache dependencies in the CI Set STACK_ROOT to cache dependencies between the builds. --- semaphoreci.sh | 1 + stack.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/semaphoreci.sh b/semaphoreci.sh index 28fdb18..c14bd56 100755 --- a/semaphoreci.sh +++ b/semaphoreci.sh @@ -1,6 +1,7 @@ #!/bin/bash STACK=$SEMAPHORE_CACHE_DIR/stack +export STACK_ROOT=$SEMAPHORE_CACHE_DIR/.stack setup() { if [ ! -e "$STACK" ] diff --git a/stack.yaml b/stack.yaml index 347682e..527dc48 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,7 +1,7 @@ resolver: lts-14.7 packages: -- '.' +- . extra-deps: [] flags: {}