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

13 lines
262 B
JavaScript
Raw Normal View History

2014-11-03 10:59:34 -05:00
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)
}