Fix build on Linux, pass extra build script arguments to dotnet build

This commit is contained in:
YoshiRulz 2019-12-04 17:11:06 +10:00
parent 6922dd5041
commit a420336e72
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
3 changed files with 3 additions and 2 deletions

View File

@ -37,6 +37,7 @@
<LangVersion>8.0</LangVersion>
</PropertyGroup>
<PropertyGroup>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<NoWin32Manifest>true</NoWin32Manifest>
</PropertyGroup>
<PropertyGroup>

View File

@ -1,2 +1,2 @@
#!/bin/sh
cd "$(dirname "$0")/.." && dotnet build BizHawk.sln
cd "$(dirname "$0")/.." && nuget restore BizHawk.sln && CscToolExe="$(which csc)" dotnet build BizHawk.sln "$@"

View File

@ -1,2 +1,2 @@
#!/bin/sh
cd "$(dirname "$0")/.." && dotnet build BizHawk.sln -c Release
cd "$(dirname "$0")/.." && nuget restore BizHawk.sln && CscToolExe="$(which csc)" dotnet build BizHawk.sln -c Release "$@"