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

Unified Diff: pkg/front_end/lib/compiler_options.dart

Issue 2979713002: Add --set-exit-code-on-problem option. (Closed)
Patch Set: Created 3 years, 5 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
Index: pkg/front_end/lib/compiler_options.dart
diff --git a/pkg/front_end/lib/compiler_options.dart b/pkg/front_end/lib/compiler_options.dart
index 7d8a76d2294200d3f18f995e7909639ca595f2bc..3b46067f333a7355b349a2bf7de5461a50939fd3 100644
--- a/pkg/front_end/lib/compiler_options.dart
+++ b/pkg/front_end/lib/compiler_options.dart
@@ -193,4 +193,8 @@ class CompilerOptions {
///
/// Dumped data is printed in stdout.
bool debugDump = false;
+
+ /// Whether to set the exit code to non-zero if any problem (including
+ /// warning, etc.) is encountered during compilation.
+ bool setExitCodeOnProblem = false;
}
« no previous file with comments | « no previous file | pkg/front_end/lib/src/base/processed_options.dart » ('j') | pkg/front_end/lib/src/fasta/messages.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698