mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-14 05:40:50 +08:00
e1ace88508
* scripts/build-binaries.sh: support for all OS/ARCH Expands our build scripts to support the following OS/ARCHS: netclient-linux-amd64 netclient-linux-arm5 netclient-linux-arm6 netclient-linux-arm7 netclient-linux-arm64 netclient-linux-mips netclient-linux-mips64 netclient-linux-mips64le netclient-linux-mipsle netclient-linux-ppc64 netclient-linux-ppc64le netclient-linux-riscv64 netclient-linux-s390x netclient-linux-386 netclient-freebsd-amd64 netclient-freebsd-arm5 netclient-freebsd-arm6 netclient-freebsd-arm7 netclient-freebsd-arm64 netclient-freebsd-386 netclient-darwin-arm64 netclient-darwin-amd64 netclient-windows-amd64 netclient-windows-arm5 netclient-windows-arm6 netclient-windows-arm7 netclient-windows-arm64 netclient-windows-386 * bin-maker.sh: update default VERSION Signed-off-by: John Sahhar <john@gravitl.com>
8 lines
182 B
Bash
Executable file
8 lines
182 B
Bash
Executable file
#!/bin/bash
|
|
|
|
#server build
|
|
env CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -ldflags="-X 'main.version=$VERSION'" -o netclient/build/netmaker main.go
|
|
|
|
cd netclient
|
|
./bin-maker.sh
|
|
|