Skip to content

Commit df5eb65

Browse files
committed
fix: build script
License: MIT Signed-off-by: Trond Bråthen <tabrath@gmail.com>
1 parent 9a22d8b commit df5eb65

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ if [ $dotnet -eq 1 ]; then
2828
dotnet restore --runtime ubuntu-x64
2929
fi
3030

31-
dotnet test ./test/BinaryEncoding.Tests/BinaryEncoding.Tests.csproj -c Release -f netcoreapp2.0 --blame
31+
dotnet test ./test/BinaryEncoding.Tests/BinaryEncoding.Tests.csproj --configuration Release --framework netcoreapp2.0 --no-restore --blame
3232
fi
3333

3434
if [ $mono -eq 1 ]; then
3535
echo "* building and testing mono"
3636
export FrameworkPathOverride=$(dirname $(which mono))/../lib/mono/4.5/
3737
nuget restore
38-
msbuild ./test/BinaryEncoding.Tests/BinaryEncoding.Tests.csproj /p:Configuration=Release /p:Platform=net452
39-
mono $HOME/.nuget/packages/xunit.runner.console/*/tools/net452/xunit.console.exe ./test/BinaryEncoding.Tests/bin/net452/Release/net452/BinaryEncoding.Tests.dll
38+
msbuild ./test/BinaryEncoding.Tests/BinaryEncoding.Tests.csproj /p:Configuration=Release,TargetFramework=net452,Platform=x64 /restore:true
39+
mono $HOME/.nuget/packages/xunit.runner.console/*/tools/net452/xunit.console.exe ./test/BinaryEncoding.Tests/bin/x64/Release/net452/BinaryEncoding.Tests.dll
4040
fi

0 commit comments

Comments
 (0)