.TH DUB-CLEAN 1 "2024-07-07" "The D Language Foundation" "The D Language Foundation" .SH NAME dub-clean \- Removes intermediate build files and cached build results .SH SYNOPSIS \fBdub clean \fR[<\fIpackage\fR>] \fIOPTIONS\&.\&.\&.\fR .SH DESCRIPTION This command removes any cached build files of the given package(s). The final target file, as well as any copyFiles are currently not removed. Without arguments, the package in the current working directory will be cleaned. .SH OPTIONS .PP \fB\-\-all\-packages\fR .RS 4 Cleans up *all* known packages (dub list) .RE .SS COMMON OPTIONS See \fBdub\fR(1) .SH EXIT STATUS .TP .BR 0 DUB succeeded .TP .BR 1 usage errors, unknown command line flags .TP .BR 2 package not found, package failed to load, miscellaneous error .SH FILES \fIdub\&.sdl\fR, \fIdub\&.json\fR .SH AUTHOR Copyright (c) 1999-2024 by The D Language Foundation .SH ONLINE DOCUMENTATION .URhttp://code.dlang.org/docs/commandline http://code.dlang.org/docs/commandline .UE .SH SEE ALSO \fBdub\fR(1), \fBdub-clean-caches\fR(1), \fBdub-remove\fR(1)