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

Unified Diff: bin/dartdevc.dart

Issue 1788973002: Remove code that requires whole-program compile (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: merged Created 4 years, 9 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 | « .travis.yml ('k') | bin/dev_compiler.dart » ('j') | no next file with comments »
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 df365eb467a3b9c174871fa30aa2ca724f070661..31fe287f30c5c9ece72b10eb6cfa92d74b89fd40 100755
--- a/bin/dartdevc.dart
+++ b/bin/dartdevc.dart
@@ -13,7 +13,6 @@ import 'package:dev_compiler/devc.dart' show devCompilerVersion;
import 'package:dev_compiler/src/compiler.dart'
show validateOptions, compile, setupLogger;
import 'package:dev_compiler/src/options.dart';
-import 'package:dev_compiler/src/server/server.dart' show DevServer;
const String _appName = 'dartdevc';
@@ -42,10 +41,6 @@ main(List<String> args) {
}
setupLogger(options.logLevel, print);
-
- if (options.serverMode) {
- new DevServer(options).start();
- } else {
- exit(compile(options) ? 0 : 1);
- }
+ bool success = compile(options);
+ exit(success ? 0 : 1);
}
« no previous file with comments | « .travis.yml ('k') | bin/dev_compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698