6 changed files with 10 additions and 55 deletions
Binary file not shown.
@ -1,24 +0,0 @@ |
|||
#!/usr/bin/env bash |
|||
|
|||
set -eu |
|||
set -o pipefail |
|||
|
|||
cd "$(dirname "$0")" |
|||
|
|||
PAKET_EXE=.paket/paket.exe |
|||
|
|||
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 "$@" |
|||
@ -1,7 +1,5 @@ |
|||
@echo off |
|||
cls |
|||
|
|||
.paket\paket.exe restore |
|||
if errorlevel 1 ( |
|||
exit /b %errorlevel% |
|||
) |
|||
dotnet tool restore |
|||
dotnet paket restore |
|||
|
|||
Loading…
Reference in new issue