File tree Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Original file line number Diff line number Diff line change @@ -28,12 +28,19 @@ ci_check_flutter:
2828ci_check_client :
2929 $(CC ) run client_test --no-select
3030
31+ ci_check_comm :
32+ $(CC ) run comm_test --no-select
33+
3134ci_fmt_client :
3235 $(CC ) run client_analyze --no-select
3336
3437ci_fmt_flutter :
38+ # FIXME: use client_analyze
3539 $(CC ) run client_analyze --no-select
3640
41+ ci_fmt_comm :
42+ $(CC ) run comm_analyze --no-select
43+
3744ci_coverage_client :
3845 $(CC ) run client_test_coverage --no-select
3946
@@ -44,15 +51,20 @@ check_client: ci_fmt_client ci_check_client
4451
4552check_flutter : ci_fmt_flutter ci_check_flutter
4653
54+ check_comm : ci_fmt_comm ci_check_comm
55+
4756changelog_client :
4857 cd packages/graphql && $(CC_CHANGELOG )
4958
5059changelog_flutter :
5160 cd packages/graphql_flutter && $(CC_CHANGELOG )
5261
62+ changelog_comm :
63+ cd packages/graphql_common && $(CC_CHANGELOG )
64+
5365changelog : changelog_client changelog_flutter
5466
55- ci : dep check_client check_flutter
67+ ci : dep check_comm check_client check_flutter
5668
5769clean :
5870 $(CC ) clean
Original file line number Diff line number Diff line change @@ -19,6 +19,22 @@ scripts:
1919 select-package :
2020 flutter : false
2121
22+ comm_analyze :
23+ run : melos exec -c 1 -- "dart format --set-exit-if-changed . && dart analyze . --fatal-infos"
24+ description : Run dart analyzer in a specific package.
25+ select-package :
26+ flutter : false
27+
28+ test :
29+ description : Run tests in a specific package.
30+ run : melos exec -- "dart pub get && dart pub run test"
31+ select-package :
32+ flutter : false
33+ dir-exists :
34+ - " test/"
35+ env :
36+ MELOS_TEST : true
37+
2238 flutter_test :
2339 description : Run tests in a specific package.
2440 run : melos exec --depends-on="graphql" -- "flutter test"
@@ -39,6 +55,16 @@ scripts:
3955 env :
4056 MELOS_TEST : true
4157
58+ comm_test :
59+ description : Run tests in a specific package.
60+ run : melos exec -- "dart pub get && dart pub run test"
61+ select-package :
62+ flutter : false
63+ dir-exists :
64+ - " test/"
65+ env :
66+ MELOS_TEST : true
67+
4268 flutter_test_coverage :
4369 description : Run tests in a specific package.
4470 run : melos exec --depends-on="graphql" -- "flutter test --coverage"
You can’t perform that action at this time.
0 commit comments