From 479caaea2d42290578f78722cec483291ef97d23 Mon Sep 17 00:00:00 2001 From: Vitaly Puzrin Date: Mon, 27 Oct 2014 04:14:11 +0300 Subject: [PATCH] Added coverage reports generation, related to #66 --- .eslintignore | 1 + .gitignore | 3 ++- .npmignore | 13 +++++++------ CHANGELOG.md | 10 +++++++++- Makefile | 3 +++ bower.json | 1 + package.json | 1 + 7 files changed, 24 insertions(+), 8 deletions(-) diff --git a/.eslintignore b/.eslintignore index 9cbd2af..10f1f79 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,4 +1,5 @@ benchmark/implementations/ +coverage/ demo/sample.js dist/ node_modules/ diff --git a/.gitignore b/.gitignore index 223cec4..dcf22ab 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ -/node_modules/ +node_modules/ +coverage/ diff --git a/.npmignore b/.npmignore index a046969..c4d613d 100644 --- a/.npmignore +++ b/.npmignore @@ -1,7 +1,8 @@ -/benchmark/ -/demo/ -/support/ -/test/ -/.* -/Makefile +benchmark/ +coverage/ +demo/ +support/ +test/ +.* +Makefile diff --git a/CHANGELOG.md b/CHANGELOG.md index 005add5..455c644 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,12 @@ -1.2.0 / WIP +1.2.1 / WIP +------------------ + +- Fixed speed degradation when linkifier enabled. +- Added coverage reports. +- Other minor optimizations and cleanup. + + +1.2.0 / 2014-10-26 ------------------ - Added `` rule. diff --git a/Makefile b/Makefile index 6284b18..2c81387 100644 --- a/Makefile +++ b/Makefile @@ -28,6 +28,9 @@ test: lint echo "CommonMark stat:\n" ./support/specsplit.js test/fixtures/commonmark/spec.txt +cover: + rm -rf cover + istanbul cover node_modules/.bin/_mocha gh-pages: if [ "git branch --list gh-pages" ]; then \ diff --git a/bower.json b/bower.json index 69f5fa7..59eb446 100644 --- a/bower.json +++ b/bower.json @@ -14,6 +14,7 @@ "**/.*", "benchmark", "bower_components", + "coverage", "demo", "lib", "node_modules", diff --git a/package.json b/package.json index e91d709..6c69543 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "browserify": "*", "eslint": "0.8.0", "eslint-plugin-nodeca": "^1.0.0", + "istanbul": "*", "jade": "^1.6.0", "stylus": "^0.49.1", "mocha": "*",