dub-clean - Man Page

Removes intermediate build files and cached build results

Synopsis

dub clean [<package>] Options...

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.

Options

--all-packages

Cleans up *all* known packages (dub list)

Common Options

See dub(1)

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

Author

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

Online Documentation

http://code.dlang.org/docs/commandline

See Also

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

Referenced By

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

2024-01-24 The D Language Foundation