UNPKG
node-sword
Version:
latest (0.0.1-beta)
0.0.3-alpha
0.0.2-alpha
0.0.1-beta
Sword Engine(Crosswire) for NodeJS (C++ Addon)
github.com/tsur/node-sword
tsur/node-sword
node-sword
/
node_modules
/
node-pre-gyp
/
lib
/
reinstall.js
13 lines
(9 loc)
•
257 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
module.exports = exports = rebuild exports.usage =
'Runs "clean" and "install" at once'
function
rebuild
(
gyp, argv, callback
)
{ gyp.todo.
unshift
( {
name
:
'clean'
,
args
: [] } , {
name
:
'install'
,
args
: [] } ) process.
nextTick
(callback) }