]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/node_modules/node-gyp/lib/clean.js
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / node_modules / node-gyp / lib / clean.js
1
2 module.exports = exports = clean
3
4 exports.usage = 'Removes any generated build files and the "out" dir'
5
6 /**
7  * Module dependencies.
8  */
9
10 var rm = require('rimraf')
11 var log = require('npmlog')
12
13
14 function clean (gyp, argv, callback) {
15
16   // Remove the 'build' dir
17   var buildDir = 'build'
18
19   log.verbose('clean', 'removing "%s" directory', buildDir)
20   rm(buildDir, callback)
21
22 }