Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
travis-stack.sh 447 B
#!/bin/sh

if [ -z ${STACKAGE_RESOLVER+x} ]; then
    echo "STACKAGE_RESOLVER environment variable not set."
    echo "This build case is not configured correctly."
    exit 1
fi

. ./travis-common.sh

# ---------------------------------------------------------------------
# Build Cabal via Stack(age).
# ---------------------------------------------------------------------

stack build \
    --no-terminal \
    --resolver "$STACKAGE_RESOLVER"