2016-04-25 11:44:26 -05:00
|
|
|
all: deps build
|
|
|
|
|
2016-10-11 01:51:44 -05:00
|
|
|
deps-go:
|
2016-04-25 11:44:26 -05:00
|
|
|
go run build.go setup
|
2016-10-11 01:51:44 -05:00
|
|
|
|
|
|
|
deps-js:
|
2017-02-13 08:26:10 -06:00
|
|
|
yarn install --pure-lockfile --no-progress
|
2016-04-25 11:44:26 -05:00
|
|
|
|
2017-02-16 02:10:55 -06:00
|
|
|
deps: deps-js
|
2016-10-11 01:51:44 -05:00
|
|
|
|
|
|
|
build-go:
|
2016-04-25 11:44:26 -05:00
|
|
|
go run build.go build
|
2016-10-11 01:51:44 -05:00
|
|
|
|
2018-03-06 16:59:45 -06:00
|
|
|
build-server:
|
|
|
|
go run build.go build-server
|
|
|
|
|
|
|
|
build-cli:
|
|
|
|
go run build.go build-cli
|
|
|
|
|
2016-10-11 01:51:44 -05:00
|
|
|
build-js:
|
2018-03-06 16:59:45 -06:00
|
|
|
yarn run build
|
2016-04-25 11:44:26 -05:00
|
|
|
|
2016-10-11 01:51:44 -05:00
|
|
|
build: build-go build-js
|
|
|
|
|
|
|
|
test-go:
|
2016-09-15 06:02:16 -05:00
|
|
|
go test -v ./pkg/...
|
2016-10-11 01:51:44 -05:00
|
|
|
|
|
|
|
test-js:
|
2018-03-06 16:59:45 -06:00
|
|
|
yarn test
|
2016-04-25 11:44:26 -05:00
|
|
|
|
2016-10-11 01:51:44 -05:00
|
|
|
test: test-go test-js
|
|
|
|
|
2016-04-25 11:44:26 -05:00
|
|
|
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/.
|