Commit 9ca1a945 by David Kaltschmidt

bra should use the proper build script

* `bra run` is used during development, but it was not using build.go
which sets a couple of globals, e.g., the commit (currently set to "NA")
* This will help in reporting the commit that someone is basing their
screenshot on.
parent ee303c03
[run] [run]
init_cmds = [ init_cmds = [
["go", "build", "-o", "./bin/grafana-server", "./pkg/cmd/grafana-server"], ["go", "run", "build.go", "build"],
["./bin/grafana-server", "cfg:app_mode=development"] ["./bin/grafana-server", "cfg:app_mode=development"]
] ]
watch_all = true watch_all = true
...@@ -12,6 +12,6 @@ watch_dirs = [ ...@@ -12,6 +12,6 @@ watch_dirs = [
watch_exts = [".go", ".ini", ".toml"] watch_exts = [".go", ".ini", ".toml"]
build_delay = 1500 build_delay = 1500
cmds = [ cmds = [
["go", "build", "-o", "./bin/grafana-server", "./pkg/cmd/grafana-server"], ["go", "run", "build.go", "build"],
["./bin/grafana-server", "cfg:app_mode=development"] ["./bin/grafana-server", "cfg:app_mode=development"]
] ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment