diff options
author | Michael Muré <batolettre@gmail.com> | 2018-09-02 00:06:50 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-09-02 00:06:50 +0200 |
commit | 150b5d489c8573fe9214c11defbeeddedde48e16 (patch) | |
tree | b969bb59a347c7c54dcf851ef4f8db085fe5c1f5 /Makefile | |
parent | 7397c94d993541b33e555b758ebdb8f61ff33c6c (diff) | |
download | git-bug-150b5d489c8573fe9214c11defbeeddedde48e16.tar.gz |
invert the behavior of the build flag for the webui
Now produce by default a build with the packed webui, to make it go gettable properly.
fix #33
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -2,11 +2,11 @@ all: build build: go generate - go build -tags=deploy_build . + go build . install: go generate - go install -tags=deploy_build . + go install . test: go test -bench=. ./... @@ -15,6 +15,10 @@ pack-webui: npm run --prefix webui build go run webui/pack_webui.go +# produce a build that will fetch the web UI from the filesystem instead of from the binary +debug-webui: + go build -tags=debugwebui + clean-local-bugs: git for-each-ref refs/bugs/ | cut -f 2 | xargs -r -n 1 git update-ref -d git for-each-ref refs/remotes/origin/bugs/ | cut -f 2 | xargs -r -n 1 git update-ref -d @@ -22,4 +26,4 @@ clean-local-bugs: clean-remote-bugs: git ls-remote origin "refs/bugs/*" | cut -f 2 | xargs -r git push origin -d -.PHONY: build install test pack-webui clean-local-bugs clean-remote-bugs +.PHONY: build install test pack-webui debug-webui clean-local-bugs clean-remote-bugs |