node-query/node_modules/sqlite3/node_modules/node-pre-gyp/lib/rebuild.js

13 lines
262 B
JavaScript

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)
}