Browse Source

build.sh: build for netbsd (#181)

pull/188/head
nia 5 years ago
committed by Andrei Marcu
parent
commit
bf090c5119
  1. 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…
Cancel
Save