Permalink
Browse files

fix test dependencies and rely on npm

  • Loading branch information...
1 parent 9e8428a commit 8dbe66da0177e25ec4eb065e524823d1b7269159 @sonnym sonnym committed Jul 12, 2012
Showing with 8 additions and 18 deletions.
  1. +1 −0 .gitignore
  2. +1 −7 Makefile
  3. +5 −1 package.json
  4. +0 −1 support/colors.js
  5. +0 −1 support/expresso
  6. +0 −1 support/should.js
  7. +0 −6 test/common.js
  8. +1 −1 test/index.test.js
View
@@ -1 +1,2 @@
lib-cov
+node_modules
View
@@ -1,12 +1,6 @@
test:
- @NODE_ENV=test ./support/expresso/bin/expresso \
- -I lib \
- -I support \
- -I support/should.js/lib \
- -I support/colors.js \
- $(TESTFLAGS) \
- test/*.test.js
+ @NODE_ENV=test ./node_modules/.bin/expresso $(TESTFLAGS) test/*.test.js
test-cov:
@TESTFLAGS=--cov $(MAKE) test
View
@@ -5,7 +5,11 @@
, "keywords": ["cli", "colors", "table"]
, "dependencies": {
"colors": "0.3.0"
- }
+ }
+ , "devDependencies": {
+ "expresso": "~0.9"
+ , "should": "~0.6"
+ }
, "main": "./index.js"
, "engines": { "node": ">= 0.2.0" }
}
Submodule colors.js deleted from b6ff10
Submodule expresso deleted from a63263
Submodule should.js deleted from c05fac
View
@@ -1,6 +0,0 @@
-
-/**
- * Module dependencies.
- */
-
-require('should');
View
@@ -3,7 +3,7 @@
* Module requirements.
*/
-require('./common');
+require('should');
var Table = require('cli-table');

0 comments on commit 8dbe66d

Please sign in to comment.