build.sh: build for netbsd (#181)
This commit is contained in:
parent
50c1bdc018
commit
bf090c5119
9
build.sh
9
build.sh
|
@ -13,6 +13,11 @@ function build_binary_rice {
|
||||||
rice append --exec "$name"freebsd-$arch
|
rice append --exec "$name"freebsd-$arch
|
||||||
done
|
done
|
||||||
|
|
||||||
|
for arch in arm amd64 386; do
|
||||||
|
GOOS=netbsd GOARCH=$arch go build -o "$name"netbsd-$arch
|
||||||
|
rice append --exec "$name"netbsd-$arch
|
||||||
|
done
|
||||||
|
|
||||||
for arch in amd64 386; do
|
for arch in amd64 386; do
|
||||||
GOOS=openbsd GOARCH=$arch go build -o "$name"openbsd-$arch
|
GOOS=openbsd GOARCH=$arch go build -o "$name"openbsd-$arch
|
||||||
rice append --exec "$name"openbsd-$arch
|
rice append --exec "$name"openbsd-$arch
|
||||||
|
@ -40,6 +45,10 @@ function build_binary {
|
||||||
GOOS=freebsd GOARCH=$arch go build -o "$name"freebsd-$arch
|
GOOS=freebsd GOARCH=$arch go build -o "$name"freebsd-$arch
|
||||||
done
|
done
|
||||||
|
|
||||||
|
for arch in arm amd64 386; do
|
||||||
|
GOOS=netbsd GOARCH=$arch go build -o "$name"netbsd-$arch
|
||||||
|
done
|
||||||
|
|
||||||
for arch in amd64 386; do
|
for arch in amd64 386; do
|
||||||
GOOS=openbsd GOARCH=$arch go build -o "$name"openbsd-$arch
|
GOOS=openbsd GOARCH=$arch go build -o "$name"openbsd-$arch
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue