aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-02-24 17:40:52 +0100
committerMichael Muré <batolettre@gmail.com>2019-03-01 22:52:53 +0100
commit475b7b4c490bc3729772932f2d7bbcabb8f781a7 (patch)
tree345d35ce5cb563a470a06c87c13a0ce78ea576cd /Makefile
parent2fd5f71b592eeebd0c0c4c770a7dac88d7eae80a (diff)
downloadgit-bug-475b7b4c490bc3729772932f2d7bbcabb8f781a7.tar.gz
a round of cleanup
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7fb04977..94a820d5 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ debug-build:
install:
go generate
- go install .
+ go install -ldflags "$(LDFLAGS)" .
test:
go test -bench=. ./...
@@ -30,7 +30,7 @@ pack-webui:
# produce a build that will fetch the web UI from the filesystem instead of from the binary
debug-webui:
- go build -tags=debugwebui
+ go build -ldflags "$(LDFLAGS)" -tags=debugwebui
clean-local-bugs:
git for-each-ref refs/bugs/ | cut -f 2 | xargs -r -n 1 git update-ref -d