Release BlockModLoader 1.0.0 with loader whitelist and recommendations
This commit is contained in:
parent
d5d9fbf47c
commit
43a421d224
1 changed files with 301 additions and 89 deletions
10
build.ps1
10
build.ps1
|
|
@ -28,15 +28,15 @@ try {
|
|||
Remove-Item -LiteralPath $archive
|
||||
}
|
||||
|
||||
& $MSBuildPath BlockMelonLoader.csproj /restore '/t:Rebuild,Pack' /p:Configuration=Release /v:minimal /nologo
|
||||
& $MSBuildPath BlockModLoader.csproj /restore '/t:Rebuild,Pack' /p:Configuration=Release /v:minimal /nologo
|
||||
if ($LASTEXITCODE -ne 0) { throw 'Library build failed.' }
|
||||
if ($Test) {
|
||||
& $MSBuildPath Tests/BlockMelonLoader.Tests.csproj /t:Rebuild /v:minimal /nologo
|
||||
& $MSBuildPath Tests/BlockModLoader.Tests.csproj /t:Rebuild /v:minimal /nologo
|
||||
if ($LASTEXITCODE -ne 0) { throw 'Test build failed.' }
|
||||
& ./Tests/bin/Release/BlockMelonLoader.Tests.exe
|
||||
& ./Tests/bin/Release/BlockModLoader.Tests.exe
|
||||
if ($LASTEXITCODE -ne 0) { throw 'Tests failed.' }
|
||||
}
|
||||
Write-Host "Library output: $PSScriptRoot/bin/Release/BlockMelonLoader.dll"
|
||||
Write-Host "NuGet output: $PSScriptRoot/artifacts/BlockMelonLoader.1.0.0.nupkg"
|
||||
Write-Host "Library output: $PSScriptRoot/bin/Release/BlockModLoader.dll"
|
||||
Write-Host "NuGet output: $PSScriptRoot/artifacts/BlockModLoader.1.0.0.nupkg"
|
||||
}
|
||||
finally { Pop-Location }
|
||||
|
|
|
|||
Reference in a new issue