-
Notifications
You must be signed in to change notification settings - Fork 558
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #469 from gravitl/feature_v0.9.0_binaries
binary builder script
- Loading branch information
Showing
4 changed files
with
30 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
cd netclient | ||
env GOOS=linux GOARCH=amd64 go build -o build/netclient main.go | ||
env GOOS=linux GOARCH=arm GOARM=5 go build -o build/netclient-arm5 main.go | ||
env GOOS=linux GOARCH=arm GOARM=6 go build -o build/netclient-arm6 main.go | ||
env GOOS=linux GOARCH=arm GOARM=7 go build -o build/netclient-arm7 main.go | ||
env GOOS=linux GOARCH=arm64 go build -o build/netclient-arm64 main.go | ||
env GOOS=linux GOARCH=mipsle go build -ldflags "-s -w" -o build/netclient-mipsle main.go && upx build/netclient-mipsle | ||
env GOOS=freebsd GOARCH=amd64 go build -o build/netclient-freebsd main.go | ||
env GOOS=freebsd GOARCH=arm GOARM=5 go build -o build/netclient-freebsd-arm5 main.go | ||
env GOOS=freebsd GOARCH=arm GOARM=6 go build -o build/netclient-freebsd-arm6 main.go | ||
env GOOS=freebsd GOARCH=arm GOARM=7 go build -o build/netclient-freebsd-arm7 main.go | ||
env GOOS=freebsd GOARCH=arm64 go build -o build/netclient-freebsd-arm64 main.go | ||
env GOOS=darwin GOARCH=amd64 go build -o build/netclient-darwmin main.go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters