diff options
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/node-gyp/lib/clean.js')
-rw-r--r-- | sandbox/testAppNevena/Front/node_modules/node-gyp/lib/clean.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/node-gyp/lib/clean.js b/sandbox/testAppNevena/Front/node_modules/node-gyp/lib/clean.js new file mode 100644 index 00000000..dbfa4dbb --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/node-gyp/lib/clean.js @@ -0,0 +1,15 @@ +'use strict' + +const rm = require('rimraf') +const log = require('npmlog') + +function clean (gyp, argv, callback) { + // Remove the 'build' dir + var buildDir = 'build' + + log.verbose('clean', 'removing "%s" directory', buildDir) + rm(buildDir, callback) +} + +module.exports = clean +module.exports.usage = 'Removes any generated build files and the "out" dir' |