Merge pull request #401 from jfrazelle/i-have-this-thing-for-static-binaries
static binary \o/
This commit is contained in:
commit
7d9a6699f7
3
Makefile
3
Makefile
|
@ -7,6 +7,9 @@ export GOPATH:=$(CURDIR)/Godeps/_workspace:$(GOPATH)
|
||||||
all:
|
all:
|
||||||
go build -tags "$(BUILDTAGS)" -o runc .
|
go build -tags "$(BUILDTAGS)" -o runc .
|
||||||
|
|
||||||
|
static:
|
||||||
|
CGO_ENABLED=1 go build -tags "$(BUILDTAGS) cgo static_build" -ldflags "-w -extldflags -static" -o runc .
|
||||||
|
|
||||||
vet:
|
vet:
|
||||||
go get golang.org/x/tools/cmd/vet
|
go get golang.org/x/tools/cmd/vet
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue