Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit a731632

Browse files
author
John Messerly
committed
exclude test from dartfmt
formatter is currently failing on generated code files Review URL: https://chromereviews.googleplex.com/150227013
1 parent 12412ab commit a731632

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ dartanalyzer --fatal-warnings --package-warnings bin/devc.dart | (! grep $PWD) \
6565
# Run formatter on all files that are part of the project. This checks that all
6666
# files are commited first. This also ignores local files that have never been
6767
# added to the git repo.
68-
(files=`git ls-files "*.dart" | grep -v test/sdk/lib/`; git status -s $files | grep -q . \
68+
(files=`git ls-files "*.dart" | grep -v test/`; git status -s $files | \
69+
grep -q . \
6970
&& echo "Did not run the formatter, please commit edited files first." \
7071
|| (echo "Running dart formatter" ; pub run dart_style:format -w $files))
7172
popd &> /dev/null

0 commit comments

Comments
 (0)