| 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();
|
| +}
|
|
|