Skip to content

Commit

Permalink
Add tarball in Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: guozijn <[email protected]>
  • Loading branch information
guozijn committed Aug 27, 2019
1 parent c64989d commit d98b3bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ compile:
@-$(MAKE) -s go-compile 2> $(STDERR)
@cat $(STDERR) | sed -e '1s/.*/\nStdout:\n/' | sed 's/make\[.*/ /' | sed "/^/s/^/ /" 1>&2

## tarball: Make a tarball.
tarball:
@tar -C bin/ -zcvf bin/nuntius-$(VERSION).linux-amd64.tar.gz nuntius

## clean: Clean build files. Runs `go clean` internally.
clean:
@-rm $(GOBIN)/$(PROJECTNAME) 2> /dev/null
Expand Down

0 comments on commit d98b3bd

Please sign in to comment.