2017-08-06 16:59:09 +00:00
|
|
|
#!/usr/bin/env bash
|
2018-07-06 21:49:17 +00:00
|
|
|
# to properly set Travis permissions: https://stackoverflow.com/questions/33820638/travis-yml-gradlew-permission-denied
|
|
|
|
# git update-index --chmod=+x fake.sh
|
|
|
|
# git commit -m "permission access for travis"
|
2017-08-06 16:59:09 +00:00
|
|
|
|
|
|
|
set -eu
|
2018-07-06 21:49:17 +00:00
|
|
|
set -o pipefail
|
2017-08-06 16:59:09 +00:00
|
|
|
|
2018-07-06 21:49:17 +00:00
|
|
|
dotnet restore build.proj
|
2017-08-06 16:59:09 +00:00
|
|
|
|
2018-07-06 21:49:17 +00:00
|
|
|
if [ ! -f build.fsx ]; then
|
|
|
|
fake run init.fsx
|
2017-08-06 16:59:09 +00:00
|
|
|
fi
|
|
|
|
|
2018-07-06 21:49:17 +00:00
|
|
|
fake build $@
|