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:
2929ci_check_client :
3030	$(CC )  run client_test --no-select
3131
32+ ci_check_comm :
33+ 	$(CC )  run comm_test --no-select
34+ 
3235ci_fmt_client :
3336	$(CC )  run client_analyze --no-select
3437
3538ci_fmt_flutter :
39+ 	#  FIXME: use client_analyze
3640	$(CC )  run client_analyze --no-select
3741
42+ ci_fmt_comm :
43+ 	$(CC )  run comm_analyze --no-select
44+ 
3845ci_coverage_client :
3946	$(CC )  run client_test_coverage --no-select
4047
@@ -45,15 +52,20 @@ check_client: ci_fmt_client ci_check_client
4552
4653check_flutter : ci_fmt_flutter ci_check_flutter
4754
55+ check_comm : ci_fmt_comm ci_check_comm
56+ 
4857changelog_client :
4958	cd  packages/graphql &&  $(CC_CHANGELOG ) 
5059
5160changelog_flutter :
5261	cd  packages/graphql_flutter &&  $(CC_CHANGELOG ) 
5362
63+ changelog_comm :
64+ 	cd  packages/graphql_common &&  $(CC_CHANGELOG ) 
65+ 
5466changelog : changelog_client changelog_flutter
5567
56- ci : dep check_client check_flutter
68+ ci : dep check_comm  check_client check_flutter
5769
5870clean :
5971	$(CC )  clean
Original file line number Diff line number Diff line change @@ -25,6 +25,12 @@ scripts:
2525    select-package :
2626      flutter : false 
2727
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+ 
2834  test :
2935    description : Run tests in a specific package. 
3036    run : melos exec -- "dart pub get && dart pub run test" 
@@ -55,6 +61,16 @@ scripts:
5561    env :
5662      MELOS_TEST : true 
5763
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+ 
5874  flutter_test_coverage :
5975    description : Run tests in a specific package. 
6076    run : melos exec --depends-on="graphql" -- "flutter test --coverage" 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments