File tree Expand file tree Collapse file tree 3 files changed +42
-1
lines changed Expand file tree Collapse file tree 3 files changed +42
-1
lines changed Original file line number Diff line number Diff line change @@ -28,12 +28,19 @@ ci_check_flutter:
28
28
ci_check_client :
29
29
$(CC ) run client_test --no-select
30
30
31
+ ci_check_comm :
32
+ $(CC ) run comm_test --no-select
33
+
31
34
ci_fmt_client :
32
35
$(CC ) run client_analyze --no-select
33
36
34
37
ci_fmt_flutter :
38
+ # FIXME: use client_analyze
35
39
$(CC ) run client_analyze --no-select
36
40
41
+ ci_fmt_comm :
42
+ $(CC ) run comm_analyze --no-select
43
+
37
44
ci_coverage_client :
38
45
$(CC ) run client_test_coverage --no-select
39
46
@@ -44,15 +51,20 @@ check_client: ci_fmt_client ci_check_client
44
51
45
52
check_flutter : ci_fmt_flutter ci_check_flutter
46
53
54
+ check_comm : ci_fmt_comm ci_check_comm
55
+
47
56
changelog_client :
48
57
cd packages/graphql && $(CC_CHANGELOG )
49
58
50
59
changelog_flutter :
51
60
cd packages/graphql_flutter && $(CC_CHANGELOG )
52
61
62
+ changelog_comm :
63
+ cd packages/graphql_common && $(CC_CHANGELOG )
64
+
53
65
changelog : changelog_client changelog_flutter
54
66
55
- ci : dep check_client check_flutter
67
+ ci : dep check_comm check_client check_flutter
56
68
57
69
clean :
58
70
$(CC ) clean
Original file line number Diff line number Diff line change @@ -19,6 +19,22 @@ scripts:
19
19
select-package :
20
20
flutter : false
21
21
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
+
22
38
flutter_test :
23
39
description : Run tests in a specific package.
24
40
run : melos exec --depends-on="graphql" -- "flutter test"
@@ -39,6 +55,16 @@ scripts:
39
55
env :
40
56
MELOS_TEST : true
41
57
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
+
42
68
flutter_test_coverage :
43
69
description : Run tests in a specific package.
44
70
run : melos exec --depends-on="graphql" -- "flutter test --coverage"
Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ version: 5.1.3
4
4
repository : https://github.com/zino-app/graphql-flutter/tree/main/packages/graphql
5
5
issue_tracker : https://github.com/zino-hofmann/graphql-flutter/issues
6
6
7
+ # just for dev work
8
+ publish_to : ' none'
9
+
7
10
dependencies :
8
11
meta : ^1.3.0
9
12
path : ^1.8.0
You can’t perform that action at this time.
0 commit comments