-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e85a0a9
commit 4c1febf
Showing
15 changed files
with
49 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
build | ||
reports | ||
docs/ | ||
reports/ | ||
|
||
# Mac OS X | ||
.DS_Store | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,8 @@ | ||
README.md | ||
Makefile | ||
build/ | ||
docs/ | ||
examples/ | ||
reports/ | ||
support/ | ||
test/ | ||
|
||
# Mac OS X | ||
.DS_Store | ||
|
||
# Node.js | ||
.npmignore | ||
node_modules/ | ||
npm-debug.log | ||
|
||
# Git | ||
.git* | ||
.jshintrc | ||
.travis.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,26 @@ | ||
language: "node_js" | ||
node_js: | ||
- "0.4" | ||
- "0.6" | ||
- "0.8" | ||
- "0.10" | ||
- "8" | ||
- "7" | ||
- "6" | ||
- "5" | ||
- "4" | ||
- "3" # io.js | ||
- "2" # io.js | ||
- "1" # io.js | ||
- "0.12" | ||
- "4.0" | ||
- "4.1" | ||
- "0.10" | ||
- "0.8" | ||
|
||
|
||
before_install: | ||
- "npm install istanbul -g" | ||
- "npm install coveralls -g" | ||
- "npm install [email protected] -g" | ||
- "preinstall-compat" | ||
|
||
script: "make ci-travis" | ||
script: | ||
- "make test-cov" | ||
|
||
after_success: | ||
- "make submit-coverage-to-coveralls" | ||
- "make report-cov" | ||
|
||
sudo: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,23 @@ | ||
SOURCES = *.js | ||
TESTS = test/*.test.js | ||
include node_modules/make-node/main.mk | ||
|
||
lint: lint-jshint | ||
test: test-mocha | ||
test-cov: test-istanbul-mocha | ||
view-cov: view-istanbul-report | ||
|
||
SOURCES = lib/*.js lib/**/*.js | ||
TESTS = test/*.test.js test/**/*.test.js | ||
|
||
# ============================================================================== | ||
# Node.js | ||
# ============================================================================== | ||
include support/mk/node.mk | ||
include support/mk/mocha.mk | ||
LCOVFILE = ./reports/coverage/lcov.info | ||
|
||
# ============================================================================== | ||
# Browserify | ||
# ============================================================================== | ||
BROWSERIFY_MAIN = ./index.js | ||
|
||
include support/mk/browserify.mk | ||
include support/mk/testling.mk | ||
view-docs: | ||
open ./docs/index.html | ||
|
||
# ============================================================================== | ||
# Code Quality | ||
# ============================================================================== | ||
include support/mk/notes.mk | ||
include support/mk/jshint.mk | ||
include support/mk/istanbul.mk | ||
view-cov: | ||
open ./reports/coverage/lcov-report/index.html | ||
|
||
# ============================================================================== | ||
# Continuous Integration | ||
# ============================================================================== | ||
include support/mk/coveralls.mk | ||
clean: clean-docs clean-cov | ||
-rm -r $(REPORTSDIR) | ||
|
||
ci-travis: test test-cov | ||
submit-coverage-to-coveralls: submit-istanbul-lcov-to-coveralls | ||
clobber: clean | ||
-rm -r node_modules | ||
|
||
# ============================================================================== | ||
# Clean | ||
# ============================================================================== | ||
clean: | ||
rm -rf build | ||
rm -rf reports | ||
|
||
clobber: clean clobber-node | ||
|
||
|
||
.PHONY: lint test test-cov view-cov ci-travis clean clobber | ||
.PHONY: clean clobber |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,23 +5,30 @@ | |
"keywords": [ | ||
"util" | ||
], | ||
"author": { | ||
"name": "Jared Hanson", | ||
"email": "[email protected]", | ||
"url": "http://www.jaredhanson.net/" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/jaredhanson/utils-merge.git" | ||
}, | ||
"bugs": { | ||
"url": "http://github.com/jaredhanson/utils-merge/issues" | ||
}, | ||
"author": { | ||
"name": "Jared Hanson", | ||
"email": "[email protected]", | ||
"url": "http://www.jaredhanson.net/" | ||
}, | ||
"license": "MIT", | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "http://opensource.org/licenses/MIT" | ||
} | ||
], | ||
"main": "./index", | ||
"dependencies": { | ||
}, | ||
"devDependencies": { | ||
"make-node": "0.3.x", | ||
"mocha": "1.x.x", | ||
"chai": "1.x.x" | ||
}, | ||
|
@@ -30,15 +37,5 @@ | |
}, | ||
"scripts": { | ||
"test": "node_modules/.bin/mocha --reporter spec --require test/bootstrap/node test/*.test.js" | ||
}, | ||
"testling": { | ||
"browsers": [ | ||
"chrome/latest" | ||
], | ||
"harness" : "mocha", | ||
"files": [ | ||
"test/bootstrap/testling.js", | ||
"test/*.test.js" | ||
] | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.