UNPKG

node-sword

Version:

Sword Engine(Crosswire) for NodeJS (C++ Addon)

13 lines (9 loc) 262 B
module.exports = exports = rebuild exports.usage = 'Runs "clean" and "build" at once' function rebuild (gyp, argv, callback) { gyp.todo.unshift( { name: 'clean', args: [] } , { name: 'build', args: ['rebuild'] } ) process.nextTick(callback) }