forked from zino-hofmann/graphql-flutter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
45 lines (30 loc) · 757 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
CC=dart pub global run melos
CC_TEST=spec
default: analyze check
dep:
dart pub global activate melos;
dart pub global activate spec_cli;
$(CC) bootstrap
check:
$(CC_TEST)
fmt:
$(CC) run format --no-select
analyze: fmt
$(CC) run analyze --no-select
ci_check_flutter:
$(CC) run flutter_test --no-select
ci_check_client:
$(CC) run client_test --no-select
ci_fmt_client:
$(CC) run client_analyze --no-select
ci_fmt_flutter:
$(CC) run client_analyze --no-select
ci_coverage_client:
$(CC) run client_test_coverage --no-select
ci_coverage_flutter:
$(CC) run flutter_test_coverage --no-select
check_client: ci_fmt_client ci_check_client
check_flutter: ci_fmt_flutter ci_check_flutter
ci: dep check_client check_flutter
clean:
$(CC) clean