From 29112f88228022c35cd546115733918fb57f4748 Mon Sep 17 00:00:00 2001 From: Eric Leijonmarck Date: Fri, 19 Jan 2024 12:49:58 +0000 Subject: [PATCH] Make: Add `make gen-go` to initcmds in .bra (#80880) * add: make gen-go to initcmds * change order of init cmds --- .bra.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bra.toml b/.bra.toml index b57cf283edc..e76c9fd6209 100644 --- a/.bra.toml +++ b/.bra.toml @@ -1,5 +1,6 @@ [run] init_cmds = [ + ["GO_BUILD_DEV=1", "make", "gen-go"], ["GO_BUILD_DEV=1", "make", "build-go"], ["make", "gen-jsonnet"], ["./bin/grafana", "server", "-packaging=dev", "cfg:app_mode=development"] @@ -16,6 +17,7 @@ watch_exts = [".go", ".ini", ".toml", ".template.html"] ignore_files = [".*_gen.go"] build_delay = 1500 cmds = [ + ["GO_BUILD_DEV=1", "make", "gen-go"], ["GO_BUILD_DEV=1", "make", "build-go"], ["make", "gen-jsonnet"], ["./bin/grafana", "server", "-packaging=dev", "cfg:app_mode=development"]