We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24f5b4b commit a922ba9Copy full SHA for a922ba9
Makefile
@@ -1,9 +1,11 @@
1
ALL:
2
mkdir -p src pkg
3
- GOPATH=`pwd` GOBIN="`pwd`" go get
+ GOPATH=`pwd` GOBIN="`pwd`" GO_ENABLED=0 GOOS=linux go get -a -tags netgo -ldflags '-w'
4
5
clean:
6
rm -fr src pkg
7
8
static:
9
GOPATH=`pwd` GO_ENABLED=0 GOOS=linux go build -a -tags netgo -ldflags '-w' .
10
+mac:
11
+ GOPATH=`pwd` GO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -a -tags netgo -ldflags '-w' .
0 commit comments