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

Unified Diff: third_party/pkg/js/update-ghpages.dart

Issue 124053002: Adding Angular and dependent packages for testing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 12 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
Index: third_party/pkg/js/update-ghpages.dart
diff --git a/third_party/pkg/js/update-ghpages.dart b/third_party/pkg/js/update-ghpages.dart
new file mode 100644
index 0000000000000000000000000000000000000000..73d53057427980b1daed19b902ed45df66b1a9f9
--- /dev/null
+++ b/third_party/pkg/js/update-ghpages.dart
@@ -0,0 +1,14 @@
+import 'package:ghpages_generator/ghpages_generator.dart' as gh;
+
+/**
+ * Run this file to update the _gh-pages_ branch with a fresh dartdoc of
+ * the library and examples compiled through dart2js.
+ * Once ran you only have to push the _gh-pages_ branch to github.
+ */
+main() {
+ new gh.Generator()
+ ..setDartDoc(['lib/js.dart'], excludedLibs: ['metadata'], outDir: 'docs')
+ ..setExamples(true)
+ ..templateDir = 'gh-pages-template'
+ ..generate();
+}

Powered by Google App Engine
This is Rietveld 408576698