finki-main
main
|
Last change
on this file since 81bc7da was 81bc7da, checked in by Klimentina Efremova <klimentina08642@…>, 3 months ago |
|
Initial commit
|
-
Property mode
set to
100644
|
|
File size:
355 bytes
|
| Line | |
|---|
| 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.