File tree Expand file tree Collapse file tree 4 files changed +24
-6
lines changed
working/macros/dart_model/testing Expand file tree Collapse file tree 4 files changed +24
-6
lines changed Original file line number Diff line number Diff line change 23
23
- name : dart pub get (working/macros/example)
24
24
run : dart pub get
25
25
working-directory : working/macros/example
26
+ - name : dart pub get (working/macros/dart_model)
27
+ run : testing/pub_get
28
+ working-directory : working/macros/dart_model
26
29
- name : dart pub get (accepted/2.3/spread-collections/benchmarks)
27
30
run : dart pub get
28
31
working-directory : accepted/2.3/spread-collections/benchmarks
Original file line number Diff line number Diff line change 2
2
3
3
set -e
4
4
5
+ testing/pub_get
6
+
5
7
# Analyze, format and test packages.
6
8
for package in dart_model dart_model_analyzer_service dart_model_repl \
7
9
macro_client macro_host macro_protocol testing/scratch \
8
10
testing/benchmark testing/test_macro_annotations testing/test_macros; do
9
11
pushd " $package "
10
- dart pub get
11
-
12
- # Skip analyzing packages that need augmentations to be generated.
13
- if ! grep -qr ' import augment' lib; then
14
- dart analyze --fatal-infos
15
- fi
12
+ dart analyze --fatal-infos
16
13
14
+ # Help dartfmt by removing augmentation files and imports.
17
15
# Delete augmentation files.
18
16
find . -name \* .a.dart | xargs --no-run-if-empty rm
19
17
# Remove augmentation imports.
Original file line number Diff line number Diff line change
1
+ #! /bin/bash --
2
+
3
+ set -e
4
+
5
+ for package in dart_model dart_model_analyzer_service dart_model_repl \
6
+ macro_client macro_host macro_protocol testing/scratch \
7
+ testing/benchmark testing/test_macro_annotations testing/test_macros; do
8
+ pushd " $package "
9
+ dart pub get
10
+ popd
11
+ done
Original file line number Diff line number Diff line change
1
+ include : ../../analysis_options.yaml
2
+
3
+ analyzer :
4
+ errors :
5
+ # If the augmenation file hasn't been generated.
6
+ uri_does_not_exist : ignore
You can’t perform that action at this time.
0 commit comments