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

Unified Diff: tool/build_sdk.dart

Issue 2244703003: fixes #610, incorrect help output (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: fix usageexception printing Created 4 years, 4 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 | « test/worker/worker_test.dart ('k') | tool/build_test_pkgs.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/build_sdk.dart
diff --git a/tool/build_sdk.dart b/tool/build_sdk.dart
index 7687f4451d95f85aaa358dbfd458c0d14714eadf..77c1a5c71b6685ac4b7f762dafa4314c003f3f5e 100644
--- a/tool/build_sdk.dart
+++ b/tool/build_sdk.dart
@@ -9,12 +9,10 @@
/// command line interface. But being able to build from a Dart library means
/// we can call this during code coverage to get more realistic numbers.
-import 'package:args/command_runner.dart' show CommandRunner;
import 'package:dev_compiler/src/compiler/command.dart';
main(List<String> arguments) {
var args = [
- 'compile',
'--unsafe-force-compile',
'--no-source-map',
'--no-emit-metadata'
@@ -50,7 +48,5 @@ main(List<String> arguments) {
'dart:web_gl',
'dart:web_sql'
]);
- var runner = new CommandRunner('dartdevc', 'Dart Development Compiler');
- runner.addCommand(new CompileCommand());
- return runner.run(args);
+ compile(args);
}
« no previous file with comments | « test/worker/worker_test.dart ('k') | tool/build_test_pkgs.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698