Permalink
Browse files

Make tests accessible

  • Loading branch information...
chriso committed Sep 6, 2012
1 parent 8a03a00 commit e0a245366e19999b6b10308b3f616f83b8065ca3
View
@@ -1,7 +1,14 @@
+dependencies:
+ @npm install -d
+
+deps: dependencies
+
test:
- @expresso -I lib --growl test/*.test.js
+ @node_modules/expresso/bin/expresso -I lib --growl test/*.test.js
+
+check: test
test-cov:
- @expresso -I lib --cov test/*.test.js
+ @node_modules/expresso/bin/expresso -I lib --cov test/*.test.js
-.PHONY: test test-cov
+.PHONY: test test-cov dependencies
View
@@ -1,9 +1,12 @@
{ "name" : "redback",
"description" : "A high-level Redis library",
- "version" : "0.2.8",
+ "version" : "0.2.9-1",
"homepage" : "https://github.com/chriso/redback",
"author" : "Chris O'Hara <cohara87@gmail.com>",
"main" : "index",
+ "scripts": {
+ "test": "make test"
+ },
"bugs": {
"mail": "cohara87@gmail.com",
"url": "http://github.com/chriso/redback/issues"
@@ -17,10 +20,13 @@
"hiredis": ">= 0.1.9",
"redis": ">= 0.6.0"
},
+ "devDependencies": {
+ "expresso": "*",
+ "stem": "*"
+ },
"contributors": [
{ "name": "Sreekanth", "github": "https://github.com/sreeix", "email": "sreeix@gmail.com" }
],
- "preferGlobal": true,
"licenses": [{
"type": "MIT",
"url": "http://github.com/chriso/redback/raw/master/LICENSE"
View
@@ -1,4 +1,4 @@
-var redback = require('redback').createClient(),
+var redback = require('../').createClient(),
assert = require('assert');
//Flush the DB and close the Redis connection after 500ms
View
@@ -1,4 +1,4 @@
-var redback = require('redback').createClient(),
+var redback = require('../').createClient(),
assert = require('assert');
//Flush the DB and close the Redis connection after 500ms
View
@@ -1,4 +1,4 @@
-var redback = require('redback').createClient(),
+var redback = require('../').createClient(),
assert = require('assert');
//Flush the DB and close the Redis connection after 500ms
View
@@ -1,4 +1,4 @@
-var redback = require('redback').createClient(),
+var redback = require('../').createClient(),
assert = require('assert');
//Flush the DB and close the Redis connection after 500ms
View
@@ -1,4 +1,4 @@
-var redback = require('redback').createClient(),
+var redback = require('../').createClient(),
client2 = require('redis').createClient(),
assert = require('assert');
View
@@ -1,4 +1,4 @@
-var crc32 = require('Utils').crc32,
+var crc32 = require('../lib/Utils').crc32,
assert = require('assert');
module.exports = {
View
@@ -1,4 +1,4 @@
-var redback = require('redback').createClient(),
+var redback = require('../').createClient(),
assert = require('assert');
//Flush the DB and close the Redis connection after 500ms
View
@@ -1,4 +1,4 @@
-var redback = require('redback').createClient(),
+var redback = require('../').createClient(),
assert = require('assert');
//Flush the DB and close the Redis connection after 500ms
View
@@ -1,4 +1,4 @@
-var redback = require('redback').createClient(),
+var redback = require('../').createClient(),
assert = require('assert');
//Flush the DB and close the Redis connection after 500ms
View
@@ -1,4 +1,4 @@
-var redback = require('redback').createClient(),
+var redback = require('../').createClient(),
assert = require('assert');
//Flush the DB and close the Redis connection after 500ms
View
@@ -1,4 +1,4 @@
-var redback = require('redback').createClient(),
+var redback = require('../').createClient(),
assert = require('assert');
//Flush the DB and close the Redis connection after 500ms
View
@@ -1,4 +1,4 @@
-var redback = require('redback'),
+var redback = require('../'),
assert = require('assert');
module.exports = {
View
@@ -1,4 +1,4 @@
-var redback = require('redback').createClient(),
+var redback = require('../').createClient(),
assert = require('assert');
//Flush the DB and close the Redis connection after 500ms
View
@@ -1,4 +1,4 @@
-var redback = require('redback').createClient(),
+var redback = require('../').createClient(),
assert = require('assert');
//Flush the DB and close the Redis connection after 500ms
View
@@ -1,4 +1,4 @@
-var redback = require('redback').createClient(),
+var redback = require('../').createClient(),
assert = require('assert');
//Flush the DB and close the Redis connection after 500ms
View
@@ -1,4 +1,4 @@
-var redback = require('redback').createClient(),
+var redback = require('../').createClient(),
assert = require('assert');
//Flush the DB and close the Redis connection after 500ms
View
@@ -1,4 +1,4 @@
-var redback = require('redback'),
+var redback = require('../'),
assert = require('assert'),
Structure = redback.Structure,
Hash = redback.Hash,

0 comments on commit e0a2453

Please sign in to comment.