Skip to content

Commit

Permalink
Makefile: make release for linux & darwin builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
pda committed Oct 10, 2017
1 parent a06c765 commit 6f237e2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package = github.com/cultureamp/cfparams

.PHONY: release
release: cfparams-darwin-amd64.gz cfparams-linux-amd64.gz

%.gz: %
gzip $<

%-darwin-amd64:
GOOS=darwin GOARCH=amd64 go build -o $@ $(package)

%-linux-amd64:
GOOS=linux GOARCH=amd64 go build -o $@ $(package)

0 comments on commit 6f237e2

Please sign in to comment.