mirror of
https://github.com/supleed2/ELEC60015-HLP-CW.git
synced 2024-11-10 02:05:48 +00:00
17 lines
402 B
Bash
17 lines
402 B
Bash
|
#!/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 $@
|