Skip to content

Commit

Permalink
Added makefile and changed the npm side.
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Campbell <nick@perfectsensedigital.com>
  • Loading branch information
ncb000gt committed Aug 31, 2011
1 parent 4a4489c commit c5dedbb
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
17 changes: 17 additions & 0 deletions Makefile
@@ -0,0 +1,17 @@
all: build test

build: clean configure compile

configure:
node-waf configure

compile:
node-waf build

test:
nodeunit test/*

clean:
node-waf clean

.PHONY: clean test build
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -18,8 +18,8 @@
"web" : "http://github.com/ncb000gt/node.bcrypt.js/issues"
},
"scripts": {
"install": "node-waf configure build",
"test": "node-waf configure build; nodeunit test/"
"install": "make build",
"test": "make test"
},
"devDependencies": {
"nodeunit": "=0.5.1"
Expand Down

0 comments on commit c5dedbb

Please sign in to comment.