6462804f52
# Conflicts: # servant-server/servant-server.cabal # servant-server/src/Servant/Server/Internal.hs # servant-server/test/Servant/ServerSpec.hs # servant/servant.cabal # servant/src/Servant/API.hs
20 lines
359 B
Bash
Executable file
20 lines
359 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -o nounset
|
|
set -o errexit
|
|
set -o verbose
|
|
|
|
export PATH=$(stack path --bin-path):$PATH
|
|
|
|
stack install cabal-install
|
|
cabal update
|
|
|
|
for package in $(cat sources.txt) ; do
|
|
echo testing $package
|
|
pushd $package
|
|
tinc
|
|
cabal configure --enable-tests --disable-optimization --ghc-options='-Werror'
|
|
cabal build
|
|
cabal test
|
|
popd
|
|
done
|