ELEC60015-HLP-CW/build.sh

17 lines
402 B
Bash
Raw Normal View History

2022-02-10 23:15:22 +00:00
#!/usr/bin/env bash
# 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"
set -eu
set -o pipefail
dotnet tool restore
dotnet paket install
# dotnet restore build.proj
if [ ! -f build.fsx ]; then
dotnet fake run init.fsx
fi
dotnet fake build $@