PHP 8.2.30
Preview: clean.js Size: 378 B
//proc/self/root/opt/alt/alt-nodejs11/root/lib/node_modules/npm/node_modules/node-gyp/lib/clean.js

module.exports = exports = clean

exports.usage = 'Removes any generated build files and the "out" dir'

/**
 * Module dependencies.
 */

var rm = require('rimraf')
var 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)

}

Directory Contents

Dirs: 0 × Files: 12

Name Size Perms Modified Actions
7.24 KB lrw-r--r-- 2021-10-19 09:48:02
Edit Download
378 B lrw-r--r-- 2021-10-19 09:48:02
Edit Download
17.29 KB lrw-r--r-- 2021-10-19 09:48:02
Edit Download
2.33 KB lrw-r--r-- 2021-10-19 09:48:02
Edit Download
9.34 KB lrw-r--r-- 2021-10-19 09:48:02
Edit Download
1.53 KB lrw-r--r-- 2021-10-19 09:48:02
Edit Download
14.78 KB lrw-r--r-- 2021-10-19 09:48:02
Edit Download
718 B lrw-r--r-- 2021-10-19 09:48:02
Edit Download
4.76 KB lrw-r--r-- 2021-10-19 09:48:02
Edit Download
5.99 KB lrw-r--r-- 2021-10-19 09:48:02
Edit Download
308 B lrw-r--r-- 2021-10-19 09:48:02
Edit Download
1.29 KB lrw-r--r-- 2021-10-19 09:48:02
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).