Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(685)

Unified Diff: tool/analyze.sh

Issue 1172453002: fixes #209, remove tree mutation from CodeChecker (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« lib/src/testing.dart ('K') | « lib/src/testing.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/analyze.sh
diff --git a/tool/analyze.sh b/tool/analyze.sh
index 26c5a0d9e7dbefbe6baa93dd2be41e84db8c16d6..7f1b35e24a38ac3b200ff6fb3ed11ffd88a12232 100755
--- a/tool/analyze.sh
+++ b/tool/analyze.sh
@@ -4,6 +4,11 @@ set -e
# Switch to the root directory of dev_compiler
cd $( dirname "${BASH_SOURCE[0]}" )/..
+function fail {
+ echo -e "Analyzer found problems"
+ return 1
+}
+
# Run analyzer on bin/devc.dart, as it includes most of the code we care about
# via transitive dependencies. This seems to be the only fast way to avoid
# repeated analysis of the same code.
« lib/src/testing.dart ('K') | « lib/src/testing.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698