def clean(build_only=False, new_files=False): print("\n= Clean =\n") build.clean(new_files=new_files) docs.clean() state.clean(build_only=build_only) return True
def clean(continue_on_error=True): print("\n= Clean =\n") if not build.clean(continue_on_error=continue_on_error): if not continue_on_error: return False docs.clean() state.clean() return True