X-Git-Url: http://git.euphorik.ch/?p=rup.git;a=blobdiff_plain;f=deploy.ps1;h=31b5a829a709d2742ed00efa49d782fcad33e8ab;hp=219d4ee33b87cf8dcd76536cc28cf9413ca77a8d;hb=f43bab0b61b36e53135569727476fc6f39a3deec;hpb=4579d6b4f5b3e764c3a7c9787ed3d48840777297 diff --git a/deploy.ps1 b/deploy.ps1 index 219d4ee..31b5a82 100755 --- a/deploy.ps1 +++ b/deploy.ps1 @@ -1,6 +1,6 @@ if ($args.Count -lt 1) { $scriptName = [Environment]::GetCommandLineArgs()[1] - echo "Usage: $scriptName " + Write-Output "Usage: $scriptName " exit 1 } @@ -16,6 +16,7 @@ if (!(Test-Path -Path $destination)) { New-Item -ItemType directory -Path $destination } +strip target/release/rup # To reduce the executable size. Copy-Item target/release/rup -Destination $destination Copy-Item key.secret -Destination $destination