--extra-*-dirs were not being passed to all components
[cabal.git] / travis-stack.sh
blobe37ff135ac450998b7a9411623d8f805dbff2774
1 #!/bin/sh
3 if [ -z ${STACKAGE_RESOLVER+x} ]; then
4 echo "STACKAGE_RESOLVER environment variable not set."
5 echo "This build case is not configured correctly."
6 exit 1
7 fi
9 . ./travis-common.sh
11 # ---------------------------------------------------------------------
12 # Build Cabal via Stack(age).
13 # ---------------------------------------------------------------------
15 stack build \
16 --no-terminal \
17 --resolver "$STACKAGE_RESOLVER"