#!/usr/bin/sh set -ex SOURCEDIR=$1 cd "${SOURCEDIR}" || exit 1 cabal update cabal install --enable-tests --only-dependencies cabal test