Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

dub-clean - Removes intermediate build files and cached build results

Author

       Copyright (c) 1999-2025 by The D Language Foundation

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.

Exit Status

0      DUB succeeded

       1      usage errors, unknown command line flags

       2      package not found, package failed to load, miscellaneous error

Files

dub.sdl, dub.json

Name

       dub-clean - Removes intermediate build files and cached build results

Online Documentation

Options

--all-packages
           Cleans up *all* known packages (dub list)

   COMMONOPTIONS
       See dub(1)

See Also

dub(1), dub-clean-caches(1), dub-remove(1)

The D Language Foundation                          2025-01-22                                       DUB-CLEAN(1)

Synopsis

dubclean [<package>] OPTIONS...

See Also