Browse Source

Avoid installing NUnit if its already installed. (#1500)

pull/1501/head
josetr 5 years ago committed by GitHub
parent
commit
25b875c034
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      build/InstallNugets.sh

10
build/InstallNugets.sh

@ -1,3 +1,9 @@ @@ -1,3 +1,9 @@
curl -O -L https://github.com/nunit/nunit-console/releases/download/v3.9/NUnit.Console-3.9.0.zip
BUILD_DIR=$(dirname -- $0)
unzip NUnit.Console-3.9.0.zip -d $BUILD_DIR/../deps/NUnit.Console-3.9.0
NUNIT=NUnit.Console-3.9.0
if [ -e $BUILD_DIR/../deps/$NUNIT/nunit3-console.exe ]; then
exit 0
fi
curl -O -L https://github.com/nunit/nunit-console/releases/download/v3.9/$NUNIT.zip
unzip $NUNIT.zip -d $BUILD_DIR/../deps/$NUNIT
Loading…
Cancel
Save