Skip to content

Commit

Permalink
Streamline the release target
Browse files Browse the repository at this point in the history
  • Loading branch information
elwinar committed Mar 22, 2020
1 parent 15ece7c commit 306f707
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ build_dir = $(root)/build
bin_dir = $(root)/bin
release_dir = $(root)/release
ldflags="-X main.Version=`git describe --tags`"
targets=*/amd64
targets=darwin/amd64,dragonfly/amd64,freebsd/amd64,linux/amd64,netbsd/amd64,openbsd/amd64
pkg=github.com/elwinar/rcoredump

.PHONY: help
Expand Down Expand Up @@ -53,7 +53,6 @@ monkey: ## Build the test crashers

.PHONY: release
release: ## Build the release files
rm -rf $(release_dir)
xgo --dest=$(release_dir) --targets=$(targets) --ldflags=$(ldflags) $(pkg)/bin/rcoredumpd
xgo --dest=$(release_dir) --targets=$(targets) --ldflags=$(ldflags) $(pkg)/bin/rcoredump

0 comments on commit 306f707

Please sign in to comment.