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'; |