Skip to content

Commit

Permalink
latest mono_repo, ignore hints for now, use pubspec feature
Browse files Browse the repository at this point in the history
Closes #1196
  • Loading branch information
kevmoo committed Sep 7, 2022
1 parent 10dd2ee commit ecd774f
Show file tree
Hide file tree
Showing 7 changed files with 162 additions and 136 deletions.
272 changes: 149 additions & 123 deletions .github/workflows/dart.yml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions _test_yaml/mono_pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# See https://github.com/google/mono_repo.dart for details on this file
sdk:
- 2.17.0
- pubspec
- dev

stages:
- analyzer_and_format:
- group:
- format
- analyze: --fatal-infos .
- analyze: # --fatal-infos .
- unit_test:
- test
- ensure_build:
Expand Down
4 changes: 2 additions & 2 deletions checked_yaml/mono_pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# See https://github.com/google/mono_repo.dart for details on this file
sdk:
- 2.17.0
- pubspec
- dev

stages:
- analyzer_and_format:
- group:
- format
- analyze: --fatal-infos .
- analyze: # --fatal-infos .

- unit_test:
- test
Expand Down
4 changes: 2 additions & 2 deletions example/mono_pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# See https://github.com/google/mono_repo.dart for details on this file
sdk:
- 2.17.0
- pubspec
- dev

stages:
- analyzer_and_format:
- group:
- format
- analyze: --fatal-infos .
- analyze: # --fatal-infos .
- unit_test:
- test
- ensure_build:
Expand Down
4 changes: 2 additions & 2 deletions json_annotation/mono_pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# See https://github.com/google/mono_repo.dart for details on this file
sdk:
- 2.17.0
- pubspec
- dev

stages:
- analyzer_and_format:
- group:
- format
- analyze: --fatal-infos .
- analyze: # --fatal-infos .
4 changes: 2 additions & 2 deletions json_serializable/mono_pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# See https://github.com/google/mono_repo.dart for details on this file
sdk:
- 2.17.0
- pubspec
- dev

stages:
- analyzer_and_format:
- group:
- format
- analyze: --fatal-infos .
- analyze: # --fatal-infos .
- unit_test:
- test:
- test: -p chrome
Expand Down
6 changes: 3 additions & 3 deletions tool/ci.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Created with package:mono_repo v6.3.0
# Created with package:mono_repo v6.4.0

# Support built in commands on windows out of the box.
# When it is a flutter repo (check the pubspec.yaml for "sdk: flutter")
Expand Down Expand Up @@ -68,8 +68,8 @@ for PKG in ${PKGS}; do
echo -e "\033[1mPKG: ${PKG}; TASK: ${TASK}\033[22m"
case ${TASK} in
analyze)
echo 'dart analyze --fatal-infos .'
dart analyze --fatal-infos . || EXIT_CODE=$?
echo 'dart analyze'
dart analyze || EXIT_CODE=$?
;;
format)
echo 'dart format --output=none --set-exit-if-changed .'
Expand Down

0 comments on commit ecd774f

Please sign in to comment.