summaryrefslogtreecommitdiff
path: root/server/.yarn/unplugged/node-gyp-npm-9.3.1-43540bab9c/node_modules/node-gyp/lib/clean.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/.yarn/unplugged/node-gyp-npm-9.3.1-43540bab9c/node_modules/node-gyp/lib/clean.js')
-rw-r--r--server/.yarn/unplugged/node-gyp-npm-9.3.1-43540bab9c/node_modules/node-gyp/lib/clean.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/server/.yarn/unplugged/node-gyp-npm-9.3.1-43540bab9c/node_modules/node-gyp/lib/clean.js b/server/.yarn/unplugged/node-gyp-npm-9.3.1-43540bab9c/node_modules/node-gyp/lib/clean.js
new file mode 100644
index 0000000..dbfa4db
--- /dev/null
+++ b/server/.yarn/unplugged/node-gyp-npm-9.3.1-43540bab9c/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'