Skip to content

Commit

Permalink
Made binaries statically-linked (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
shyiko committed Jun 26, 2018
1 parent 5c5c85f commit 7f1b4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ build:
go build -ldflags "-X main.version=${VERSION}"

build-release:
gox -verbose \
env CGO_ENABLED=0 gox -verbose \
-ldflags "-X main.version=${VERSION}" \
-osarch="windows/amd64 linux/amd64 darwin/amd64" \
-output="release/{{.Dir}}-${VERSION}-{{.OS}}-{{.Arch}}" .
Expand Down

0 comments on commit 7f1b4ce

Please sign in to comment.