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

Unified Diff: pkg/polymer/lib/deploy.dart

Issue 23478015: Apply several phases only to entrypoint files (which currently are identified as (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 | pkg/polymer/lib/src/transform/code_extractor.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/lib/deploy.dart
diff --git a/pkg/polymer/lib/deploy.dart b/pkg/polymer/lib/deploy.dart
index 73051c4f46323890693a26071cec6b6ebc4c8496..8d3c47b4e397e8b4b38074e940dde9af4050c6dd 100644
--- a/pkg/polymer/lib/deploy.dart
+++ b/pkg/polymer/lib/deploy.dart
@@ -4,13 +4,18 @@
/**
* Temporary deploy command used to create a version of the app that can be
- * compiled with dart2js and deployed. This library should go away once `pub
- * deploy` can be configured to run barback transformers.
+ * compiled with dart2js and deployed. Following pub layout conventions, this
+ * script will treat any HTML file under a package 'web/' and 'test/'
+ * directories as entry points.
*
- * From an application package you can run this program by calling dart with a
- * 'package:' url to this file:
+ * From an application package you can run deploy by creating a small program
+ * as follows:
*
- * dart package:polymer/deploy.dart
+ * import "package:polymer/deploy.dart" as deploy;
+ * main() => deploy.main();
+ *
+ * This library should go away once `pub deploy` can be configured to run
+ * barback transformers.
*/
library polymer.deploy;
« no previous file with comments | « no previous file | pkg/polymer/lib/src/transform/code_extractor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698