[Feature Request] Add autoclean option for failed builds
When a build fails I can quite often fix it by "cleaning" the build and source directories.
I'd like to see an option for instance --autoclean-on-fail
or similar that will on a failed build, delete all files and folders under the src
and build
directories for that package and try the build again (re-run same build with --resume-from=$thefailedpackage
)