source: trip-planner-front/node_modules/node-gyp/lib/clean.js@ 1ad8e64

Last change on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 355 bytes
RevLine 
[6a3a178]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'
Note: See TracBrowser for help on using the repository browser.