Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add page regeneration script, fix yuidoc

  • Loading branch information...
commit ecfcf42bd0b7a3dca183bb5cb12db0589f22f7c7 1 parent 7b3f92c
@gotwarlost gotwarlost authored
Showing with 12 additions and 0 deletions.
  1. +1 −0  .npmignore
  2. +9 −0 generate-pages.sh
  3. +2 −0  lib/object-utils.js
View
1  .npmignore
@@ -1,5 +1,6 @@
.npmignore
.gitignore
+generate-pages.sh
.travis.yml
*.tar
*.tgz
View
9 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
+
View
2  lib/object-utils.js
@@ -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
*/
Please sign in to comment.
Something went wrong with that request. Please try again.