mirror of
https://github.com/tenox7/wrp.git
synced 2025-01-05 19:32:28 +00:00
4.3
This commit is contained in:
parent
4212678d81
commit
ba4183e0b4
2
make.ps1
2
make.ps1
@ -4,7 +4,7 @@ param (
|
||||
$env:GOARCH="amd64"
|
||||
foreach($os in ("linux", "freebsd", "openbsd", "darwin", "windows")) {
|
||||
$env:GOOS=$os
|
||||
$o="wrp-$(if ($os -eq "windows") {$os="windows.exe"})$os"
|
||||
$o="wrp-$(if ($os -eq "windows") {$os="windows.exe"} elseif ($os -eq "darwin") { $os="macos" })$os"
|
||||
Remove-Item -ErrorAction Ignore $o
|
||||
if (!$clean) {
|
||||
Invoke-Expression "& go build -a -o $o wrp.go"
|
||||
|
Loading…
Reference in New Issue
Block a user