Skip to content

Commit

Permalink
#3 seems fixed - test can be run directly using coffeeScript now.
Browse files Browse the repository at this point in the history
I suppose I corrected the mistakes a few commits before
  • Loading branch information
Leonhardt Wille committed Jan 18, 2012
1 parent 87ae9da commit 66ce87a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
@@ -1,7 +1,6 @@
build/
.lock-wscript
gphoto2.node
test.js
v8.log
node_modules/
.DS_Store
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -18,6 +18,6 @@
},
"scripts": {
"preinstall": "node-waf clean || (exit 0); node-waf configure build",
"test": "killall PTPCamera;node --expose-gc test/test.js"
"test": "killall PTPCamera;coffee --nodejs --expose- test/test.coffee"
}
}
1 change: 0 additions & 1 deletion wscript
Expand Up @@ -39,6 +39,5 @@ def shutdown(bld):
if lexists('gphoto2.node'):
unlink('gphoto2.node')
elif Options.commands['build']:
system('coffee -c test/test.coffee')
if exists('build/Release/gphoto2.node') and not lexists('gphoto2.node'):
symlink('build/Release/gphoto2.node', 'gphoto2.node')

0 comments on commit 66ce87a

Please sign in to comment.