aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-01-22 14:14:24 +0100
committerMichael Muré <batolettre@gmail.com>2020-01-22 14:14:24 +0100
commit20080aa0e485412b07e1942798b264030e744381 (patch)
treead1b2be3927ec11bb18a08a5428de11aecacc1ca /Makefile
parent00b1bd04347570f42492f9ce48b7d2093f14a657 (diff)
downloadgit-bug-20080aa0e485412b07e1942798b264030e744381.tar.gz
fix version not set properly when built on travis
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9d0e24ec..81b0f7ce 100644
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,10 @@ install:
go generate
go install -ldflags "$(LDFLAGS)" .
+releases:
+ go generate
+ gox -ldflags "$(LDFLAGS)" -output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}"
+
test:
go test -v -bench=. ./...
@@ -51,4 +55,4 @@ clean-local-identities:
git for-each-ref refs/remotes/origin/identities/ | cut -f 2 | $(XARGS) -n 1 git update-ref -d
rm -f .git/git-bug/identity-cache
-.PHONY: build install test pack-webui debug-webui clean-local-bugs clean-remote-bugs
+.PHONY: build install releases test pack-webui debug-webui clean-local-bugs clean-remote-bugs