Files
SnowLuma/.pnpm-store/v11/files/4e/8c270984223b03234ba6d94da70b6c210b6ae233baf86f5412f47ed9d71b3cec7b3541b0ec19f94de42a9df16a4dda410ef93a386a332bce01f2820b097d17
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

16 lines
414 B
Plaintext

'use strict'
const fs = require('graceful-fs').promises
const log = require('./log')
async function clean (gyp, argv) {
// Remove the 'build' dir
const buildDir = 'build'
log.verbose('clean', 'removing "%s" directory', buildDir)
await fs.rm(buildDir, { recursive: true, force: true, maxRetries: 3 })
}
module.exports = clean
module.exports.usage = 'Removes any generated build files and the "out" dir'