csharpfftfsharpintegrationinterpolationlinear-algebramathdifferentiationmatrixnumericsrandomregressionstatisticsmathnet
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
539 B
31 lines
539 B
#!/usr/bin/env bash
|
|
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
PAKET_EXE=.paket/paket.exe
|
|
|
|
OS=${OS:-"unknown"}
|
|
if [[ "$OS" != "Windows_NT" ]]
|
|
then
|
|
# Allows NETFramework like net45 to be built using dotnet core tooling with mono
|
|
export FrameworkPathOverride=$(dirname $(which mono))/../lib/mono/4.5/
|
|
fi
|
|
|
|
function run() {
|
|
if [[ "$OS" != "Windows_NT" ]]
|
|
then
|
|
mono "$@"
|
|
else
|
|
"$@"
|
|
fi
|
|
}
|
|
|
|
if [[ "$OS" != "Windows_NT" ]] && [ ! -e ~/.config/.mono/certs ]
|
|
then
|
|
mozroots --import --sync --quiet
|
|
fi
|
|
|
|
run $PAKET_EXE restore
|
|
|