mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 10:20:29 -06:00
c3cc60b080
* add a git-ignored `local/` folder for Makefile/Dockerfile * import `local/Makefile` to root Makefile * add `.dockerignore`
39 lines
517 B
Makefile
39 lines
517 B
Makefile
-include local/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-server:
|
|
go run build.go build-server
|
|
|
|
build-cli:
|
|
go run build.go build-cli
|
|
|
|
build-js:
|
|
yarn run build
|
|
|
|
build: build-go build-js
|
|
|
|
test-go:
|
|
go test -v ./pkg/...
|
|
|
|
test-js:
|
|
yarn test
|
|
|
|
test: test-go test-js
|
|
|
|
run:
|
|
./bin/grafana-server
|
|
|
|
protoc:
|
|
protoc -I pkg/tsdb/models pkg/tsdb/models/*.proto --go_out=plugins=grpc:pkg/tsdb/models/.
|