Makefile 307 Bytes
Newer Older
1 2
all: deps build

Dan Cech committed
3
deps-go:
4
	go run build.go setup
Dan Cech committed
5 6

deps-js:
7
	yarn install --pure-lockfile --no-progress
8

9
deps: deps-js
Dan Cech committed
10 11

build-go:
12
	go run build.go build
Dan Cech committed
13 14

build-js:
15 16
	npm run build

Dan Cech committed
17 18 19
build: build-go build-js

test-go:
20
	go test -v ./pkg/...
Dan Cech committed
21 22

test-js:
23
	npm test
24

Dan Cech committed
25 26
test: test-go test-js

27 28
run:
	./bin/grafana-server