1'use strict' 2 3const rm = require('rimraf') 4const log = require('npmlog') 5 6function clean (gyp, argv, callback) { 7 // Remove the 'build' dir 8 var buildDir = 'build' 9 10 log.verbose('clean', 'removing "%s" directory', buildDir) 11 rm(buildDir, callback) 12} 13 14module.exports = clean 15module.exports.usage = 'Removes any generated build files and the "out" dir' 16