Skip to content

Commit

Permalink
Fixed the wscript the correct way to continue to support older versio…
Browse files Browse the repository at this point in the history
…ns of node while working in newer versions
  • Loading branch information
Sembiance committed Dec 6, 2011
1 parent 9d78cf1 commit 3c9ce18
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.js
@@ -1 +1 @@
exports.hash = require("./build/Release/mhash").hash;
exports.hash = require("./build/default/mhash").hash;
4 changes: 2 additions & 2 deletions package.json
@@ -1,10 +1,10 @@
{ "name": "mhash",
"version": "0.1.2",
"version": "0.1.3",
"author": "Robert Schultz <robert@cosmicrealms.com>",
"description": "Provides several hashing algorithms for node.js by binding to mhash. Includes support for 27 different hash algorithms including: md5, md4, md2, sha1, sha256, whirlpool, crc32, etc.",
"scripts": { "preinstall": "node-waf configure build" },
"main": "index",
"engines": { "node": ">0.6.0" },
"engines": { "node": ">0.3.0" },
"keywords": [ "hash", "md5", "sha", "crc", "whirlpool", "haval", "ripemd", "gost", "snefru", "alder", "tiger", "crc32", "crc32b", "sha256", "md4", "md2" ],
"homepage" : "http://github.com/Sembiance/node-mhash",
"licenses": [ { "type": "MIT", "url": "http://github.com/Sembiance/node-mhash/raw/master/LICENSE" } ],
Expand Down
1 change: 1 addition & 0 deletions wscript
Expand Up @@ -13,6 +13,7 @@ def set_options(opt):
def configure(conf):
conf.check_tool('compiler_cxx')
conf.check_tool('node_addon')
conf.env.set_variant("default")

# configure mhash
print "Configuring mhash library ..."
Expand Down

0 comments on commit 3c9ce18

Please sign in to comment.