forked from percona/grafana-dashboards
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
51 lines (41 loc) · 828 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
export IMPORT_DASH_HOST = http://127.0.0.1:3000
export IMPORT_DASH_USERNAME = admin
export IMPORT_DASH_PASSWORD = admin
.PHONY: all
all: build pack disable install enable
tput bel
.PHONY: coverage
coverage:
cd pmm-app \
&& npm run coverage
.PHONY: codecov
codecov:
cd pmm-app \
&& npm run codecov
.PHONY: release
release:
cd pmm-app \
&& npm version \
&& npm ci \
&& npm run build
.PHONY: prepare_release
prepare_release:
cd pmm-app \
&& npm version \
&& npm ci \
.PHONY: build_package
build_package:
cd pmm-app \
&& npm run build
.PHONY: generate_coverage
generate_coverage: coverage codecov
.PHONY: test
test: release coverage codecov
.PHONY: clean
clean:
rm -r pmm-app/dist/
.PHONY: docker_clean
docker_clean:
docker-compose stop \
&& docker-compose rm -f -v \
&& docker system prune --volumes -f