mirror of
https://github.com/tenox7/wrp.git
synced 2024-06-10 17:29:29 +00:00
added more build targets
This commit is contained in:
parent
66412fa95e
commit
f0ba852785
3
make.ps1
3
make.ps1
|
@ -1,8 +1,7 @@
|
||||||
param (
|
param (
|
||||||
[switch]$clean = $false
|
[switch]$clean = $false
|
||||||
)
|
)
|
||||||
$env:GOARCH="amd64"
|
foreach($sys in ("amd64-linux", "arm-linux", "arm-netbsd", "arm-freebsd", "amd64-freebsd", "amd64-openbsd", "amd64-darwin", "amd64-windows")) {
|
||||||
foreach($sys in ("amd64-linux", "arm-linux", "amd64-freebsd", "amd64-openbsd", "amd64-darwin", "amd64-windows")) {
|
|
||||||
$cpu,$os = $sys.split('-')
|
$cpu,$os = $sys.split('-')
|
||||||
$env:GOARCH=$cpu
|
$env:GOARCH=$cpu
|
||||||
$env:GOOS=$os
|
$env:GOOS=$os
|
||||||
|
|
Loading…
Reference in New Issue
Block a user