Skip to content

Commit 620f9a1

Browse files
migrated to prebuild
1 parent 8a005f0 commit 620f9a1

File tree

11 files changed

+822
-1883
lines changed

11 files changed

+822
-1883
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
Thumbs.db
2-
/prebuilds
32
/build
43
.prebuildrc
54
.node_pre_gyprc

binding.gyp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,6 @@
5454
'NAPI_DISABLE_CPP_EXCEPTIONS',
5555
'NAPI_VERSION=<(napi_build_version)'
5656
]
57-
},
58-
{
59-
"target_name": "action_after_build",
60-
"type": "none",
61-
"dependencies": [ "<(module_name)" ],
62-
"copies": [
63-
{
64-
"files": [ "<(PRODUCT_DIR)/<(module_name).node" ],
65-
"destination": "<(module_path)"
66-
}
67-
]
6857
}
6958
]
7059
}

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('node-gyp-build')(__dirname)

lib/kinect-azure.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const kinect = require('./binding/napi-v4/kinectAzure.node');
1+
const kinect = require('../index.js');
22

33
class KinectAzure {
44
constructor() {

0 commit comments

Comments
 (0)