grafana/Makefile
2017-12-07 16:33:36 +01:00

31 lines
404 B
Makefile

all: deps build
deps-go:
go run build.go setup
deps-js:
yarn install --pure-lockfile --no-progress
deps: deps-js
build-go:
go run build.go build
build-js:
npm run build
build: build-go build-js
test-go:
go test -v ./pkg/...
test-js:
npm test
test: test-go test-js
run:
./bin/grafana-server
pbuf:
protoc -I pkg/tsdb/models pkg/tsdb/models/*.proto --go_out=plugins=grpc:pkg/tsdb/models/.