Skip to content

Commit

Permalink
Moving package around for better npm support
Browse files Browse the repository at this point in the history
  • Loading branch information
davglass committed Aug 22, 2012
1 parent 3a9593c commit 910e3c0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion 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
File renamed without changes.
5 changes: 3 additions & 2 deletions nodejs-coverage/lib/index.js
Expand Up @@ -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;
}
});
Expand Down
2 changes: 1 addition & 1 deletion 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": [
Expand Down

0 comments on commit 910e3c0

Please sign in to comment.