mirror of
https://github.com/grafana/grafana.git
synced 2024-11-21 08:34:25 -06:00
de99ce139c
* avoid the need for a second bulky binary for grafana-cli * look for grafana-server in $PATH as well as same directory * implement unified "grafana" command * update dockerfiles, fix grafana-cli -v * update packaging to work with single binary - add wrapper scripts for grafana and grafana-server - update and sync package files - implement --sign flag of build package command - stop packaging scripts folder, they are not useful for end users - add support for --configOverrides in server command - remove unused nfpm.yaml config file * windows support
25 lines
628 B
TOML
25 lines
628 B
TOML
[run]
|
|
init_cmds = [
|
|
["make", "gen-go"],
|
|
["make", "gen-jsonnet"],
|
|
["GO_BUILD_DEV=1", "make", "build-go"],
|
|
["./bin/grafana", "server", "-packaging=dev", "cfg:app_mode=development"]
|
|
]
|
|
watch_all = true
|
|
follow_symlinks = true
|
|
watch_dirs = [
|
|
"$WORKDIR/pkg",
|
|
"$WORKDIR/public/views",
|
|
"$WORKDIR/conf",
|
|
"$WORKDIR/devenv/dev-dashboards",
|
|
]
|
|
watch_exts = [".go", ".ini", ".toml", ".template.html"]
|
|
ignore_files = [".*_gen.go"]
|
|
build_delay = 1500
|
|
cmds = [
|
|
["make", "gen-go"],
|
|
["make", "gen-jsonnet"],
|
|
["GO_BUILD_DEV=1", "make", "build-go"],
|
|
["./bin/grafana", "server", "-packaging=dev", "cfg:app_mode=development"]
|
|
]
|