forked from zino-hofmann/graphql-flutter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
58 lines (38 loc) · 1.11 KB
/
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
52
53
54
55
56
57
58
CC=dart pub global run melos
#CC_TEST=spec
CC_CHANGELOG=dart pub global run changelog_cmd
default: analyze check
dep:
dart pub global activate melos 2.9.0;
dart pub global activate changelog_cmd;
$(CC) bootstrap
check: ci_check_client ci_check_flutter
fmt:
$(CC) run format --no-select
analyze: fmt
$(CC) run client_analyze --no-select
$(CC) run flutter_analyze --no-select
client: ci_check_client ci_fmt_client
flutter: ci_check_flutter ci_fmt_flutter
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
changelog_client:
cd packages/graphql && $(CC_CHANGELOG)
changelog_flutter:
cd packages/graphql_flutter && $(CC_CHANGELOG)
changelog: changelog_client changelog_flutter
ci: dep check_client check_flutter
clean:
$(CC) clean