Autobuild install
Jump to navigation
Jump to search
autobuild install
option [value] [option [value]] ...
[package [package ...]]
option [value] [option [value]] ...
[package [package ...]]
Installs artifacts of dependency packages for use during the build of the current package.
Argument:
- package: name of package to consider for installation.
You may specify one or more packages, separated by a space; or none. If no packages are named, autobuild will attempt to install all packages listed in the 'installables' section of the configuration file.
Private Packages:
If a package has been marked as requiring GitHub or GitLab credentials environment variables need to be provided with valid personal access tokens:
AUTOBUILD_GITHUB_TOKEN
AUTOBUILD_GITLAB_TOKEN
Standard Options
Option | Shortcut | Value | Description |
---|---|---|---|
--debug | -d | None | Display debug output |
--dry-run | -n | None | Run tool in dry run mode if available |
--help | -h | None | Show help message |
--quiet | -q | None | Display minimal output |
--verbose | -v | None | Display verbose output |
Command-Specific Options
Option | Shortcut | Value | Description |
---|---|---|---|
--config-file filename | N/A | File that describes what is installed (defaults to $AUTOBUILD_CONFIG_FILE or "autobuild.xml"). | Use specified configuration file. |
--export-manifest | N/A | None | Print the install manifest to stdout and exit. |
--installed-manifest filename | N/A | The file used to record what is installed. | Save record of what is installed to the specified file. |
--install-dir dir | N/A | Directory path. | Unpack installed files in specified directory |
--list | N/A | None | List the archives specified in the package file. |
--list-installed | N/A | None | List the installed package names and exit. |
--list-licenses | N/A | None | List known licenses and exit. |
--platform platform | -p platform | Platform name | Override the automatically determined platform. |
--list-install-urls | Lists the archive urls for all installed packages
| ||
--list-dirty | Lists the names of 'dirty' installed packages
| ||
--what-installed file-path | path to a file installed by some package | Lists the archive responsible for installing the specified file; useful when finding conflicts between packages | |
--versions | Prints each package name and its version value | ||
--copyrights | Prints each package name and its copyright value | ||
--local archive | path to an archive file | Installs the specified archive file in place of the version in the autobuild configuration. This marks the resulting build as 'dirty' but is useful during development. Using this option is equivalent to listing a package name to be installed (so not including the name does not mean that all packages are installed). |