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
|
|
|
|
|
|
|
build-js:
|
2016-04-25 11:44:26 -05:00
|
|
|
npm run build
|
|
|
|
|
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:
|
2016-04-25 11:53:15 -05:00
|
|
|
npm 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
|