Skip to content

scd clean

Removes the build directory for an SPM project, deleting all compiled artifacts and intermediate files. Equivalent to deleting the .build directory manually.

scd clean [options]
OptionDescription
-p, --pathPath to the project. Defaults to current directory
--verboseEnable verbose output

All commands also accept Global Options.

Terminal window
scd clean
scd clean --path ./MyProject