Permalink
Browse files

Use node-bindings.

  • Loading branch information...
1 parent a8b47ba commit 7c3587be7a7236309de678d7d693bd0eab9e5ce3 @TooTallNate TooTallNate committed Feb 7, 2012
Showing with 6 additions and 1 deletion.
  1. +2 −0 index.js
  2. +4 −1 package.json
View
@@ -0,0 +1,2 @@
+
+module.exports = require('bindings')('getrusage.node')
View
@@ -23,7 +23,10 @@
"url": "git://github.com/davglass/node-getrusage.git"
}
],
- "main": "./build/default/getrusage",
+ "main": "./index.js",
+ "dependencies": {
+ "bindings": "*"
+ },
"scripts": {
"build": "node-waf configure build",
"test": "node-waf test",

0 comments on commit 7c3587b

Please sign in to comment.