bdep-deinit(1) General Commands Manual bdep-deinit(1)

bdep-deinit - deinitialize project in build configurations

bdep deinit [options] [pkg-spec] [cfg-spec]

cfg-spec = (@cfg-name | --config|-c cfg-dir)... | --all|-a
pkg-spec = (--directory|-d pkg-dir)... | prj-spec
prj-spec = --directory|-d prj-dir

The deinit command deinitializes the specified project packages (pkg-spec), or, if the project itself is specified (prj-spec), all its previously initialized packages, in one or more build configurations (cfg-spec).

If no project directory is specified, then the current working directory is assumed. If no configuration is specified, then the default configurations are assumed. See bdep-projects-configs(1) for details on specifying projects and configurations.

Deinitialize packages without attempting to remove them from the build configuration. This mode is primarily useful when the configuration directory has been removed or is otherwise unusable.
Do not re-fetch the repository information before attempting to replace packages being deinitialized with versions from repositories.
Use all build configurations.
Specify the build configuration as a directory.
Assume project/package is in the specified directory rather than in the current working directory.
Specify the build configuration as a name.
Specify the build configuration as an id.

The common options are summarized below with a more detailed description available in bdep-common-options(1).

Print essential underlying commands being executed.
Print all underlying commands being executed.
Run quietly, only printing error messages.
Set the diagnostics verbosity to level between 0 and 6.
Representation format to use for printing to stdout.
Number of jobs to perform in parallel.
Display progress indicators for long-lasting operations, such as network transfers, building, etc.
Suppress progress indicators for long-lasting operations, such as network transfers, building, etc.
Use color in diagnostics.
Don't use color in diagnostics.
The package manager program to be used for build configuration management.
Additional option to be passed to the package manager program.
The build program to be used to build packages.
Additional option to be passed to the build program.
The curl program to be used for network operations.
Additional option to be passed to the curl program.
The pager program to be used to show long text.
Additional option to be passed to the pager program.
Read additional options from file.
The directory to load additional default options files from.
Don't load default options files.

See bdep-default-options-files(1) for an overview of the default options files. For the deinit command the search start directory is the project directory. The following options files are searched for in each directory and, if found, loaded in the order listed:

bdep.options
bdep-deinit.options

The following deinit command options cannot be specified in the default options files:

--directory|-d

Send bug reports to the users@build2.org mailing list.

Copyright (c) 2014-2024 the build2 authors.

Permission is granted to copy, distribute and/or modify this document under the terms of the MIT License.

June 2024 bdep 0.17.0