mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 10:20:29 -06:00
0df7c9201a
Make: Remove redundant `make go-gen` in .bra, build-go already calls this Calling twice really slows down backend build time since wire gets called twice and that uses a few gigs of memory
23 lines
584 B
TOML
23 lines
584 B
TOML
[run]
|
|
init_cmds = [
|
|
["GO_BUILD_DEV=1", "make", "build-go"],
|
|
["make", "gen-jsonnet"],
|
|
["./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 = [
|
|
["GO_BUILD_DEV=1", "make", "build-go"],
|
|
["make", "gen-jsonnet"],
|
|
["./bin/grafana", "server", "-packaging=dev", "cfg:app_mode=development"]
|
|
]
|