[Pkg-javascript-commits] [node-coveralls] 118/332: fixed merge conflicts in makefile. continuing work to switch coverage tool to istanbul.
Bastien Roucariès
rouca at moszumanska.debian.org
Thu Nov 9 13:53:48 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-coveralls.
commit 7c7ce93b06d8e2b08ea9107c44dc9d5de4d746ba
Author: Gregg Caines <gregg at caines.ca>
Date: Sat Nov 23 07:41:18 2013 -0800
fixed merge conflicts in makefile. continuing work to switch coverage tool to istanbul.
---
.gitignore | 2 +-
Makefile | 16 +++++++---------
package.json | 9 +++------
3 files changed, 11 insertions(+), 16 deletions(-)
diff --git a/.gitignore b/.gitignore
index 2c09685..e53562f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,3 @@
node_modules/
-coverage.html
+coverage/
lib-cov/
diff --git a/Makefile b/Makefile
index 6d761a3..d4a1e17 100644
--- a/Makefile
+++ b/Makefile
@@ -2,21 +2,19 @@ REPORTER = spec
test:
@$(MAKE) lint
@echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID)
- @$(MAKE) core_test
-
-core_test:
- @NODE_ENV=test ./node_modules/.bin/mocha -b --require blanket --reporter $(REPORTER)
+ @NODE_ENV=test ./node_modules/.bin/mocha -b --reporter $(REPORTER)
lint:
./node_modules/.bin/jshint ./lib ./test ./index.js
test-cov:
- $(MAKE) test REPORTER=spec
- $(MAKE) core_test REPORTER=html-cov > coverage.html
+ $(MAKE) lint
+ @NODE_ENV=test ./node_modules/.bin/istanbul cover \
+ ./node_modules/mocha/bin/_mocha -- -R spec
test-coveralls:
- $(MAKE) test REPORTER=spec
- $(MAKE) core_test REPORTER=mocha-lcov-reporter | ./bin/coveralls.js --verbose
- rm -rf lib-cov
+ @NODE_ENV=test ./node_modules/.bin/istanbul cover \
+ ./node_modules/mocha/bin/_mocha -- \
+ REPORTER=mocha-lcov-reporter | ./bin/coveralls.js --verbose
.PHONY: test
diff --git a/package.json b/package.json
index 198a52c..035186b 100644
--- a/package.json
+++ b/package.json
@@ -10,11 +10,7 @@
"url": "https://github.com/cainus/node-coveralls/issues"
},
"scripts": {
- "test": "make test",
- "blanket": {
- "pattern": "lib",
- "data-cover-never": "node_modules"
- }
+ "test": "make test"
},
"bin": {
"coveralls": "./bin/coveralls.js"
@@ -27,6 +23,7 @@
"Kir Belevich (https://github.com/svg)",
"elliotcable <github at elliottcable.name> (http://elliottcable.name/)",
"Slotos <slotos at gmail.com> (http://slotos.net)",
+ "mattjmorrison <mattjmorrison at mattjmorrison.com> (http://mattjmorrison.com)",
"Arpad Borsos <arpad.borsos at googlemail.com> (http://swatinem.de/)"
],
"dependencies": {
@@ -36,11 +33,11 @@
"log-driver": "1.2.1"
},
"devDependencies": {
- "blanket": "~1.1.5",
"sinon-restore": "1.0.0",
"mocha-lcov-reporter": "0.0.1",
"mocha": "1.8.1",
"should": "1.1.0",
+ "istanbul": "0.1.45",
"jshint": "2.1.3"
},
"engines": {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-coveralls.git
More information about the Pkg-javascript-commits
mailing list