Skip to content

Commit

Permalink
Merge pull request theturtle32#41 from zerodivisi0n/master
Browse files Browse the repository at this point in the history
Build UTF-8 validator using node-gyp
  • Loading branch information
theturtle32 committed Mar 24, 2012
2 parents 32b292f + 28fe1f5 commit 8cfb26c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Makefile

This file was deleted.

8 changes: 8 additions & 0 deletions binding.gyp
@@ -0,0 +1,8 @@
{
'targets': [
{
'target_name': 'validation',
'sources': [ 'src/validation.cc' ]
}
]
}
4 changes: 3 additions & 1 deletion package.json
Expand Up @@ -12,7 +12,9 @@
"node": ">=0.4.7"
},
"scripts": {
"preinstall": "make validator"
"preinstall": "node-gyp configure",
"install": "node-gyp build",
"preuninstall": "node-gyp clean"
},
"main": "index",
"directories": {
Expand Down
1 change: 0 additions & 1 deletion src/validation.cc
Expand Up @@ -10,7 +10,6 @@
#include <node_buffer.h>
#include <node_object_wrap.h>
#include <stdlib.h>
#include <strings.h>
#include <wchar.h>
#include <stdio.h>

Expand Down

0 comments on commit 8cfb26c

Please sign in to comment.