Rebuild examples when the sources change

This commit is contained in:
Tim Schaub
2015-04-12 14:42:32 -06:00
parent aaba58ceb0
commit 8ddec98075
5 changed files with 55 additions and 192 deletions
+2 -5
View File
@@ -107,13 +107,10 @@ This is useful for projects that use the Closure Compiler to build, but want to
Called internally to parse the library for annotations and write out a `build/info.json` file.
## `parse-examples.js`
Called after install to generate an example index. After new examples are added, run `node tasks/parse-examples.js` to regenerate the example index.
## `build-examples.js`
Called internally by `parse-examples.js` to build the examples from templates.
Builds examples and the example index.
## `serve.js`