Skip to content

Commit

Permalink
Add page regeneration script, fix yuidoc
Browse files Browse the repository at this point in the history
  • Loading branch information
gotwarlost committed Oct 17, 2012
1 parent 7b3f92c commit ecfcf42
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .npmignore
@@ -1,5 +1,6 @@
.npmignore
.gitignore
generate-pages.sh
.travis.yml
*.tar
*.tgz
Expand Down
9 changes: 9 additions & 0 deletions generate-pages.sh
@@ -0,0 +1,9 @@
export PAGES_DIR=../istanbul-pages
npm install
npm test --coverage
npm install -g yuidocjs
mkdir -p public/apidocs
yuidoc .
rsync -rvt ./public/apidocs/ ${PAGES_DIR}/public/apidocs/
rsync -rvt ./build/coverage/ ${PAGES_DIR}/public/coverage

2 changes: 2 additions & 0 deletions lib/object-utils.js
Expand Up @@ -258,6 +258,8 @@
* returns the coverage summary for a single coverage object. This is
* wrapper over `summarizeFileCoverage` and `mergeSummaryObjects` for
* the common case of a single coverage object
* @method summarizeCoverage
* @static
* @param {Object} coverage the coverage object
* @return {Object} summary coverage metrics across all files in the coverage object
*/
Expand Down

0 comments on commit ecfcf42

Please sign in to comment.