From cc00327fbe6ce9ff98d1d6a0549f1d9f0ddb872f Mon Sep 17 00:00:00 2001 From: linux chips Date: Sat, 2 Dec 2017 13:22:51 +0300 Subject: [PATCH] add server only build target "build-srv" --- build.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.go b/build.go index a1d1d3012ab..6eb4ea63a91 100644 --- a/build.go +++ b/build.go @@ -79,6 +79,10 @@ func main() { case "setup": setup() + case "build-srv": + clean() + build("grafana-server", "./pkg/cmd/grafana-server", []string{}) + case "build-cli": clean() build("grafana-cli", "./pkg/cmd/grafana-cli", []string{})