![]() |
![]()
| ![]() |
![]()
NAMEbdep-status - print status of project and/or its dependencies SYNOPSISbdep status [options] [pkg-spec] [cfg-spec] [dep-spec...] dep-spec = pkg[/ver]
DESCRIPTIONThe status command prints the status of project packages and/or their dependencies in one or more build configurations. If no project or package 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. If no dep-spec arguments are specified, then status prints the status of the project's packages. Otherwise, the status of the specified dependency packages is printed. Additionally, the status of immediate or all dependencies of the above packages can be printed by specifying the --immediate|-i or --recursive|-r options, respectively. In the default output format (see the --stdout-format common option), the status of each package is printed on a separate line. Note that the status is written to stdout, not stderr. The semantics of dep-spec and the format of the status line are described in bpkg-pkg-status(1). If the output format is json, then the output is a JSON array of objects which are the serialized representation of the following C++ struct configuration_package_status: struct configuration { For example: [ See the JSON OUTPUT section in bdep-common-options(1) for details on the overall properties of this format and the semantics of the struct serialization. Refer to the list subcommand of bdep-config(1) for details on the struct configuration members. Refer to bpkg-pkg-status(1) for the definition of struct package_status. Note also that in the json output format certain conditions (no associated configurations, no initialized packages, etc) are not treated as errors but instead result in valid output. The uninitialized packages have the special uninitialized status value. STATUS OPTIONS
COMMON OPTIONSThe common options are summarized below with a more detailed description available in bdep-common-options(1).
DEFAULT OPTIONS FILESSee bdep-default-options-files(1) for an overview of the default options files. For the status 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-status.options The following status command options cannot be specified in the default options files: --directory|-d BUGSSend bug reports to the users@build2.org mailing list. COPYRIGHTCopyright (c) 2014-2024 the build2 authors. Permission is granted to copy, distribute and/or modify this document under the terms of the MIT License.
|