Index: pkg/polymer/build.dart |
diff --git a/pkg/polymer/build.dart b/pkg/polymer/build.dart |
new file mode 100755 |
index 0000000000000000000000000000000000000000..5e863b865cea92c9c9eaeaf28d16e1af0c2e32a7 |
--- /dev/null |
+++ b/pkg/polymer/build.dart |
@@ -0,0 +1,17 @@ |
+#!/usr/bin/env dart |
+// Copyright (c) 2012, 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. |
+ |
+/** Build logic that lets the Dart editor build examples in the background. */ |
+library build; |
+import 'package:polymer/component_build.dart'; |
+import 'dart:io'; |
+ |
+void main() { |
+ var args = new Options().arguments.toList()..addAll(['--', '--deploy']); |
+ build(args, [ |
+ 'example/component/news/web/index.html', |
+ 'example/scoped_style/index.html', |
+ '../../samples/third_party/todomvc/web/index.html']); |
+} |