4 changed files with 52 additions and 4 deletions
@ -0,0 +1,12 @@ |
|||
@echo off |
|||
cls |
|||
|
|||
.paket\paket.bootstrapper.exe |
|||
if errorlevel 1 ( |
|||
exit /b %errorlevel% |
|||
) |
|||
|
|||
.paket\paket.exe restore |
|||
if errorlevel 1 ( |
|||
exit /b %errorlevel% |
|||
) |
|||
@ -0,0 +1,30 @@ |
|||
#!/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 |
|||
} |
|||
|
|||
if [[ "$OS" != "Windows_NT" ]] && [ ! -e ~/.config/.mono/certs ] |
|||
then |
|||
mozroots --import --sync --quiet |
|||
fi |
|||
|
|||
run .paket/paket.bootstrapper.exe |
|||
run .paket/paket.exe restore |
|||
Loading…
Reference in new issue