mirror of
https://github.com/netchx/netch.git
synced 2026-05-07 22:44:03 +08:00
17 lines
319 B
PowerShell
17 lines
319 B
PowerShell
Write-Host 'Building'
|
|
|
|
dotnet publish `
|
|
-c "Release" `
|
|
-r "win-x64" `
|
|
-p:Platform="x64" `
|
|
-p:PublishSingleFile=true `
|
|
-p:SelfContained=false `
|
|
-p:PublishTrimmed=false `
|
|
-p:PublishReadyToRun=false `
|
|
-o Netch\bin\Publish\ `
|
|
Netch\Netch.csproj
|
|
|
|
if ($LASTEXITCODE) { exit $LASTEXITCODE }
|
|
|
|
Write-Host 'Build done'
|