Files
cell/scripts/clean.ce
2025-12-03 20:18:46 -06:00

23 lines
390 B
Plaintext

// cell clean - Remove build artifacts from modules/
var fd = use('fd')
if (!fd.is_dir('.cell/build')) {
log.console("No build directory found")
$_.stop()
return
}
log.console("Cleaning build artifacts...")
// Remove the build directory
try {
fd.rm('.cell/build')
log.console("Build directory removed")
} catch (e) {
log.error(e)
}
log.console("Clean complete!")
$_.stop()