mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-22 09:55:33 +00:00
af6c86ad19
* Fix: Implement custom procfs watcher for connect / disconnect events * fix encoding on build files * Update travis CI * Use last supported framework on CI Co-authored-by: Christopher Lees <leezer3@gmail.com>
37 lines
646 B
Bash
Executable file
37 lines
646 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
cd `dirname $0`
|
|
|
|
FSIARGS=""
|
|
OS=${OS:-"unknown"}
|
|
if [[ "$OS" != "Windows_NT" ]]
|
|
then
|
|
FSIARGS="--fsiargs -d:MONO"
|
|
fi
|
|
|
|
function run() {
|
|
if [[ "$OS" != "Windows_NT" ]]
|
|
then
|
|
mono "$@"
|
|
else
|
|
"$@"
|
|
fi
|
|
}
|
|
|
|
run .paket/paket.bootstrapper.exe
|
|
|
|
if [[ "$OS" != "Windows_NT" ]] &&
|
|
[ ! -e ~/.config/.mono/certs ]
|
|
then
|
|
mozroots --import --sync --quiet
|
|
fi
|
|
|
|
run .paket/paket.exe restore
|
|
|
|
[ ! -e build.fsx ] && run .paket/paket.exe update
|
|
[ ! -e build.fsx ] && run packages/FAKE/tools/FAKE.exe init.fsx
|
|
run packages/FAKE/tools/FAKE.exe "$@" $FSIARGS build.fsx
|