Files
netch/PUBLISH.ps1
2021-03-28 00:01:59 +08:00

15 lines
298 B
PowerShell

Write-Host 'Building'
dotnet publish -c "Release" `
-p:Platform="x64" `
-p:PublishSingleFile=true `
-p:RuntimeIdentifier=win-x64 `
-p:SolutionDir="$pwd\" `
-o Netch\bin\Publish\ `
--no-self-contained `
Netch\Netch.csproj
if ($LASTEXITCODE) { exit $LASTEXITCODE }
Write-Host 'Build done'