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

Unified Diff: bin/dartdevc.dart

Issue 1402713002: Implement --dump-info for batch mode. (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « no previous file | lib/src/compiler.dart » ('j') | lib/src/compiler.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/dartdevc.dart
diff --git a/bin/dartdevc.dart b/bin/dartdevc.dart
index 61e306aad185f3c713a453129ee91e1f922d21de..df365eb467a3b9c174871fa30aa2ca724f070661 100755
--- a/bin/dartdevc.dart
+++ b/bin/dartdevc.dart
@@ -25,7 +25,7 @@ void _showUsageAndExit() {
exit(1);
}
-main(List<String> args) async {
+main(List<String> args) {
var options;
try {
@@ -46,7 +46,6 @@ main(List<String> args) async {
if (options.serverMode) {
new DevServer(options).start();
} else {
- var success = compile(options);
- exit(success ? 0 : 1);
+ exit(compile(options) ? 0 : 1);
}
}
« no previous file with comments | « no previous file | lib/src/compiler.dart » ('j') | lib/src/compiler.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698