File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,19 @@ ci_check_flutter:
29
29
ci_check_client :
30
30
$(CC ) run client_test --no-select
31
31
32
+ ci_check_comm :
33
+ $(CC ) run comm_test --no-select
34
+
32
35
ci_fmt_client :
33
36
$(CC ) run client_analyze --no-select
34
37
35
38
ci_fmt_flutter :
39
+ # FIXME: use client_analyze
36
40
$(CC ) run client_analyze --no-select
37
41
42
+ ci_fmt_comm :
43
+ $(CC ) run comm_analyze --no-select
44
+
38
45
ci_coverage_client :
39
46
$(CC ) run client_test_coverage --no-select
40
47
@@ -45,15 +52,20 @@ check_client: ci_fmt_client ci_check_client
45
52
46
53
check_flutter : ci_fmt_flutter ci_check_flutter
47
54
55
+ check_comm : ci_fmt_comm ci_check_comm
56
+
48
57
changelog_client :
49
58
cd packages/graphql && $(CC_CHANGELOG )
50
59
51
60
changelog_flutter :
52
61
cd packages/graphql_flutter && $(CC_CHANGELOG )
53
62
63
+ changelog_comm :
64
+ cd packages/graphql_common && $(CC_CHANGELOG )
65
+
54
66
changelog : changelog_client changelog_flutter
55
67
56
- ci : dep check_client check_flutter
68
+ ci : dep check_comm check_client check_flutter
57
69
58
70
clean :
59
71
$(CC ) clean
Original file line number Diff line number Diff line change @@ -25,6 +25,12 @@ scripts:
25
25
select-package :
26
26
flutter : false
27
27
28
+ comm_analyze :
29
+ run : melos exec -c 1 -- "dart format --set-exit-if-changed . && dart analyze . --fatal-infos"
30
+ description : Run dart analyzer in a specific package.
31
+ select-package :
32
+ flutter : false
33
+
28
34
test :
29
35
description : Run tests in a specific package.
30
36
run : melos exec -- "dart pub get && dart pub run test"
@@ -55,6 +61,16 @@ scripts:
55
61
env :
56
62
MELOS_TEST : true
57
63
64
+ comm_test :
65
+ description : Run tests in a specific package.
66
+ run : melos exec -- "dart pub get && dart pub run test"
67
+ select-package :
68
+ flutter : false
69
+ dir-exists :
70
+ - " test/"
71
+ env :
72
+ MELOS_TEST : true
73
+
58
74
flutter_test_coverage :
59
75
description : Run tests in a specific package.
60
76
run : melos exec --depends-on="graphql" -- "flutter test --coverage"
You can’t perform that action at this time.
0 commit comments