Skip to content
Browse files

Moving package around for better npm support

  • Loading branch information...
1 parent 3a9593c commit 910e3c0324b96c058ba479117da7c98209dea7c5 @davglass davglass committed Aug 22, 2012
View
2 nodejs-coverage/Makefile
@@ -1,3 +1,3 @@
all:
@echo "Copying Jar file"
- cp ../java/build/yuitest-coverage.jar ./build
+ cp ../java/build/yuitest-coverage.jar ./jar
View
0 nodejs-coverage/build/yuitest-coverage.jar → nodejs-coverage/jar/yuitest-coverage.jar
File renamed without changes.
View
5 nodejs-coverage/lib/index.js
@@ -4,11 +4,12 @@ var spawn = require('child_process').spawn,
path = require('path'),
jar, idx = 0,
exists = fs.exists || path.exists,
- lists = fs.readdirSync(path.join(__dirname, '../build'));
+ base = path.join(__dirname, '../jar'),
+ lists = fs.readdirSync(base);
lists.some(function(item) {
if (path.extname(item) === '.jar') {
- jar = path.join(__dirname, '../build/', item);
+ jar = path.join(base, item);
return true;
}
});
View
2 nodejs-coverage/package.json
@@ -1,7 +1,7 @@
{
"name": "yuitest-coverage",
"description": "Node.js wrapper for yuitest-coverage java package",
- "version": "0.0.3",
+ "version": "0.0.4",
"author": "Dav Glass <davglass@gmail.com>",
"bugs": { "url" : "http://yuilibrary.com/projects/yuitest/newticket" },
"keywords": [

0 comments on commit 910e3c0

Please sign in to comment.
Something went wrong with that request. Please try again.