added more build targets

This commit is contained in:
Antoni Sawicki 2019-08-12 23:34:03 -07:00
parent 66412fa95e
commit f0ba852785

View File

@ -1,8 +1,7 @@
param (
[switch]$clean = $false
)
$env:GOARCH="amd64"
foreach($sys in ("amd64-linux", "arm-linux", "amd64-freebsd", "amd64-openbsd", "amd64-darwin", "amd64-windows")) {
foreach($sys in ("amd64-linux", "arm-linux", "arm-netbsd", "arm-freebsd", "amd64-freebsd", "amd64-openbsd", "amd64-darwin", "amd64-windows")) {
$cpu,$os = $sys.split('-')
$env:GOARCH=$cpu
$env:GOOS=$os