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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/PolymerSample.java

Issue 53243002: Use pub-build in todomvc and sample template app from the editor (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/PolymerSample.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/PolymerSample.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/PolymerSample.java
index 3cf5773029e6e1486898783f401988d5ae754108..0140140362cb7fcc5eb7763dd42a5f566e1c2ee5 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/PolymerSample.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/PolymerSample.java
@@ -34,7 +34,10 @@ public class PolymerSample extends AbstractSample {
templates.add(new String[] {
"pubspec.yaml",
"name: {name}\ndescription: A sample Polymer application\n"
- + "dependencies:\n polymer: any\n"});
+ + "dependencies:\n polymer: any\n"
+ + "transformers:\n- polymer:\n"
+ + " entry_points: web/{name.lower}.html\n"
+ });
templates.add(new String[] {"build.dart", "@webui/build.dart"});
templates.add(new String[] {"web/{name.lower}.html", "@webui/webapp.html"});
templates.add(new String[] {"web/{name.lower}.css", "@webui/webapp.css"});
« no previous file with comments | « no previous file | pkg/polymer/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698