mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2024-11-29 06:37:03 +03:00
21 lines
278 B
Bash
Executable File
21 lines
278 B
Bash
Executable File
#!/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
|
|
}
|
|
|
|
if [ x"$dirs" = x ]; then
|
|
script_build
|
|
else
|
|
for d in $dirs; do
|
|
( cd $d && script_build )
|
|
done
|
|
fi
|