Last change
on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
355 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | 'use strict'
|
---|
| 2 |
|
---|
| 3 | const rm = require('rimraf')
|
---|
| 4 | const log = require('npmlog')
|
---|
| 5 |
|
---|
| 6 | function 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 |
|
---|
| 14 | module.exports = clean
|
---|
| 15 | module.exports.usage = 'Removes any generated build files and the "out" dir'
|
---|
Note:
See
TracBrowser
for help on using the repository browser.