Skip to content

Commit

Permalink
codify packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
chrono committed Oct 27, 2014
1 parent 7f27338 commit d3de83e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
build: deps
PACKAGE=marathon-consul-discovery_linux_amd64.zip
BINARY=/opt/gopath/bin/marathon-consul-discovery

$(BINARY): deps
go build ./...

deps:
go get ./...

$(PACKAGE): $(BINARY)
zip -j $@ $<

package: $(PACKAGE)

0 comments on commit d3de83e

Please sign in to comment.