Permalink
Browse files

Update support files.

  • Loading branch information...
1 parent 89956ab commit 82a328f2f84e72aa405a666e1387fc87b649814f @jaredhanson committed Jan 29, 2016
Showing with 37 additions and 64 deletions.
  1. +4 −5 .gitignore
  2. +0 −15 .npmignore
  3. +14 −4 .travis.yml
  4. +1 −1 LICENSE
  5. +14 −36 Makefile
  6. +4 −3 package.json
View
@@ -1,9 +1,8 @@
-build/
reports/
-# Node.js
-node_modules/
-npm-debug.log
-
# Mac OS X
.DS_Store
+
+# Node.js
+node_modules
+npm-debug.log
View
@@ -1,23 +1,8 @@
Makefile
-README.md
-build/
docs/
examples/
reports/
-support/
test/
-# Node.js
-.npmignore
-node_modules/
-npm-debug.log
-
-# Mac OS X
-.DS_Store
-
-# Git
-.git*
-
-# Utilities
.jshintrc
.travis.yml
View
@@ -1,14 +1,24 @@
language: "node_js"
node_js:
+ - "5"
+ - "4"
+ - "3" # io.js
+ - "2" # io.js
+ - "1" # io.js
- "0.12"
- "0.10"
- "0.8"
- - "iojs"
+ - "0.6"
+
before_install:
- - "bash support/bin/travis-install.sh"
+ - "npm install make-node@0.3.x -g"
+ - "preinstall-compat"
-script: "make ci-travis"
+script:
+ - "make test-cov"
after_success:
- - "make submit-cov-to-coveralls"
+ - "make report-cov"
+
+sudo: false
View
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2011-2015 Jared Hanson
+Copyright (c) 2011-2016 Jared Hanson
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
View
@@ -1,47 +1,25 @@
-SOURCES = lib/*.js lib/**/*.js
-TESTS ?= test/*.test.js
+include node_modules/make-node/main.mk
-test: test-mocha
-test-cov: test-istanbul-mocha
-view-cov: view-istanbul-report
-lint: lint-jshint
-lint-tests: lint-tests-jshint
+SOURCES = lib/*.js lib/**/*.js
+TESTS = test/*.test.js
-# ==============================================================================
-# Node.js
-# ==============================================================================
-include support/mk/node.mk
-include support/mk/mocha.mk
-include support/mk/istanbul.mk
+LCOVFILE = ./reports/coverage/lcov.info
-# ==============================================================================
-# Analysis
-# ==============================================================================
-include support/mk/notes.mk
-include support/mk/jshint.mk
+MOCHAFLAGS = --require ./test/bootstrap/node
-# ==============================================================================
-# Reports
-# ==============================================================================
-include support/mk/coveralls.mk
-# ==============================================================================
-# Continuous Integration
-# ==============================================================================
-submit-cov-to-coveralls: submit-istanbul-lcov-to-coveralls
+view-docs:
+ open ./docs/index.html
-# Travis CI
-ci-travis: test test-cov
+view-cov:
+ open ./reports/coverage/lcov-report/index.html
-# ==============================================================================
-# Clean
-# ==============================================================================
-clean:
- rm -rf build
- rm -rf reports
+clean: clean-docs clean-cov
+ -rm -r $(REPORTSDIR)
-clobber: clean clobber-node
+clobber: clean
+ -rm -r node_modules
-.PHONY: test test-cov view-cov lint lint-tests submit-cov-to-coveralls ci-travis clean clobber
+.PHONY: clean clobber
View
@@ -26,7 +26,7 @@
"licenses": [
{
"type": "MIT",
- "url": "http://www.opensource.org/licenses/MIT"
+ "url": "http://opensource.org/licenses/MIT"
}
],
"main": "./lib",
@@ -35,14 +35,15 @@
"xtraverse": "0.1.x"
},
"devDependencies": {
+ "make-node": "0.3.x",
"mocha": "1.x.x",
- "chai": "1.x.x",
+ "chai": "2.x.x",
"chai-passport-strategy": "0.1.x"
},
"engines": {
"node": ">= 0.4.0"
},
"scripts": {
- "test": "node_modules/.bin/mocha --reporter spec --require test/bootstrap/node test/*.test.js"
+ "test": "node_modules/.bin/mocha --require test/bootstrap/node test/*.test.js"
}
}

0 comments on commit 82a328f

Please sign in to comment.