mirror of
https://github.com/grafana/grafana.git
synced 2024-11-27 11:20:27 -06:00
6b16fcea52
* break out go and js build commands * support oauth providers that return errors via redirect * remove extra call to get grafana.net org membership * removed GitHub specifics from generic OAuth * readded ability to name generic source * revert to a backward-compatible state, refactor and clean up * streamline oauth user creation, make generic oauth support more generic
29 lines
284 B
Makefile
29 lines
284 B
Makefile
all: deps build
|
|
|
|
deps-go:
|
|
go run build.go setup
|
|
|
|
deps-js:
|
|
npm install
|
|
|
|
deps: deps-go 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
|