mirror of https://github.com/mono/CppSharp.git
4 changed files with 21 additions and 5 deletions
@ -1,3 +1,3 @@ |
|||||||
wget https://github.com/nunit/nunit-console/releases/download/v3.9/NUnit.Console-3.9.0.zip |
curl -O -L https://github.com/nunit/nunit-console/releases/download/v3.9/NUnit.Console-3.9.0.zip |
||||||
BUILD_DIR=$(dirname -- $0) |
BUILD_DIR=$(dirname -- $0) |
||||||
unzip NUnit.Console-3.9.0.zip -d $BUILD_DIR/../deps/NUnit.Console-3.9.0 |
unzip NUnit.Console-3.9.0.zip -d $BUILD_DIR/../deps/NUnit.Console-3.9.0 |
@ -1,5 +1,19 @@ |
|||||||
|
#!/bin/sh |
||||||
set -e |
set -e |
||||||
|
|
||||||
BUILD_DIR=$(dirname -- $0) |
BUILD_DIR=$(dirname -- $0) |
||||||
MONO_PATH=$BUILD_DIR/../deps/NUnit.ConsoleRunner.3.6.1/tools \ |
|
||||||
cp $BUILD_DIR/../deps/NUnit/nunit.framework.* $BUILD_DIR/gmake/lib/Release_*/ |
case "$(uname -s)" in |
||||||
mono $BUILD_DIR/../deps/NUnit.Console-3.9.0/nunit3-console.exe -noresult $BUILD_DIR/gmake/lib/Release_*/*Tests*.dll |
Darwin|Linux) |
||||||
|
ACTION=gmake |
||||||
|
MONO=mono |
||||||
|
export PATH=$PATH:/Library/Frameworks/Mono.framework/Versions/Current/bin |
||||||
|
;; |
||||||
|
|
||||||
|
CYGWIN*|MINGW32*|MSYS*|MINGW*) |
||||||
|
ACTION=vs2019 |
||||||
|
;; |
||||||
|
esac |
||||||
|
|
||||||
|
cp $BUILD_DIR/../deps/NUnit/nunit.framework.* $BUILD_DIR/$ACTION/lib/Release_*/ |
||||||
|
$MONO $BUILD_DIR/../deps/NUnit.Console-3.9.0/nunit3-console.exe -noresult $BUILD_DIR/$ACTION/lib/Release_*/*Tests*.dll |
||||||
|
Loading…
Reference in new issue