Navigation Menu

Skip to content

Commit

Permalink
build.sh: build for netbsd (andreimarcu#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
alarixnia authored and andreimarcu committed Jun 13, 2019
1 parent 50c1bdc commit bf090c5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.sh
Expand Up @@ -13,6 +13,11 @@ function build_binary_rice {
rice append --exec "$name"freebsd-$arch
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
GOOS=openbsd GOARCH=$arch go build -o "$name"openbsd-$arch
rice append --exec "$name"openbsd-$arch
Expand Down Expand Up @@ -40,6 +45,10 @@ function build_binary {
GOOS=freebsd GOARCH=$arch go build -o "$name"freebsd-$arch
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
GOOS=openbsd GOARCH=$arch go build -o "$name"openbsd-$arch
done
Expand Down

0 comments on commit bf090c5

Please sign in to comment.