13 lines
256 B
Bash
Executable file
13 lines
256 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -o errexit
|
|
|
|
for package in $(cat sources.txt) doc/tutorial ; do
|
|
echo testing $package
|
|
pushd $package
|
|
tinc
|
|
cabal configure --enable-tests --disable-optimization --ghc-options='-Werror'
|
|
cabal build
|
|
cabal test
|
|
popd
|
|
done
|