haskell-relational-record/travis-CI/stack/script.sh

21 lines
278 B
Bash
Raw Normal View History

2017-02-01 11:59:45 +03:00
#!/bin/sh
set -e
. ./travis-CI/dirs.list
set -x
script_build() {
STACK_YAML=stack-travis.yaml stack build
STACK_YAML=stack-travis.yaml stack test
2017-02-01 11:59:45 +03:00
}
if [ x"$dirs" = x ]; then
script_build
else
for d in $dirs; do
( cd $d && script_build )
done
fi