grafana/Makefile

31 lines
406 B
Makefile
Raw Normal View History

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:
2016-09-15 06:02:16 -05:00
go test -v ./pkg/...
test-js:
2016-04-25 11:53:15 -05:00
npm test
test: test-go test-js
run:
./bin/grafana-server
2017-09-21 10:02:40 -05:00
2018-01-11 08:34:07 -06:00
protoc:
2017-09-21 10:02:40 -05:00
protoc -I pkg/tsdb/models pkg/tsdb/models/*.proto --go_out=plugins=grpc:pkg/tsdb/models/.