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.
35 lines
1.3 KiB
35 lines
1.3 KiB
#!/usr/bin/env bash
|
|
#
|
|
# Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
#
|
|
|
|
wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
|
|
mozroots --import --sync
|
|
|
|
echo "[INFO] remove bin/Debug/SwaggerClientTest.dll"
|
|
<<<<<<< Updated upstream
|
|
rm src/CircleSDK.Test/bin/Debug/CircleSDK.Test.dll 2> /dev/null
|
|
=======
|
|
rm src/IO.Swagger.Test/bin/Debug/IO.Swagger.Test.dll 2> /dev/null
|
|
>>>>>>> Stashed changes
|
|
|
|
echo "[INFO] install NUnit runners via NuGet"
|
|
wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
|
|
mozroots --import --sync
|
|
<<<<<<< Updated upstream
|
|
mono nuget.exe install src/CircleSDK.Test/packages.config -o packages
|
|
=======
|
|
mono nuget.exe install src/IO.Swagger.Test/packages.config -o packages
|
|
>>>>>>> Stashed changes
|
|
|
|
echo "[INFO] Install NUnit runners via NuGet"
|
|
mono nuget.exe install NUnit.Runners -Version 2.6.4 -OutputDirectory packages
|
|
|
|
echo "[INFO] Build the solution and run the unit test"
|
|
<<<<<<< Updated upstream
|
|
xbuild CircleSDK.sln && \
|
|
mono ./packages/NUnit.Runners.2.6.4/tools/nunit-console.exe src/CircleSDK.Test/bin/Debug/CircleSDK.Test.dll
|
|
=======
|
|
xbuild IO.Swagger.sln && \
|
|
mono ./packages/NUnit.Runners.2.6.4/tools/nunit-console.exe src/IO.Swagger.Test/bin/Debug/IO.Swagger.Test.dll
|
|
>>>>>>> Stashed changes
|