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

Unified Diff: pkg/compiler/bin/dart2js.dart

Issue 1277003006: add dart2js.dart in the bin directory. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/bin/dart2js.dart
diff --git a/pkg/compiler/bin/dart2js.dart b/pkg/compiler/bin/dart2js.dart
new file mode 100644
index 0000000000000000000000000000000000000000..8f26efa7747d729fca150e8e260b4bb0e79106ff
--- /dev/null
+++ b/pkg/compiler/bin/dart2js.dart
@@ -0,0 +1,13 @@
+// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+/// Entrypoint to run the compiler. This entrypoint is currently only used by
+/// dart2js developers. To run the compiler you now can:
+/// * call `pub get` in the pkg/compiler folder.
+/// * simply call `dart path-to-pkg/compiler/bin/dart2js.dart foo.dart`
+// TODO(sigmund): move `main` here, and change our sdk build tools to just use
+// this entrypoint instead.
+library compiler.bin.dart2js;
+
+export 'package:compiler/src/dart2js.dart';
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698