aboutsummaryrefslogtreecommitdiffstats
path: root/webui/pack_webui.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-02 00:06:50 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-02 00:06:50 +0200
commit150b5d489c8573fe9214c11defbeeddedde48e16 (patch)
treeb969bb59a347c7c54dcf851ef4f8db085fe5c1f5 /webui/pack_webui.go
parent7397c94d993541b33e555b758ebdb8f61ff33c6c (diff)
downloadgit-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 'webui/pack_webui.go')
-rw-r--r--webui/pack_webui.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/webui/pack_webui.go b/webui/pack_webui.go
index 3eff71a5..69cac9d4 100644
--- a/webui/pack_webui.go
+++ b/webui/pack_webui.go
@@ -28,7 +28,7 @@ func main() {
err := vfsgen.Generate(webUIAssets, vfsgen.Options{
Filename: "webui/packed_assets.go",
PackageName: "webui",
- BuildTags: "deploy_build",
+ BuildTags: "!debugwebui",
VariableName: "WebUIAssets",
})