diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-09 11:32:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-09 11:32:50 +0200 |
commit | cbd8296c7b86f7fc368d1133da3be3670b7923be (patch) | |
tree | 1f8c10aeaf0e19a7d198b06800c2e2a72e760499 /bpkg/build-options.cli | |
parent | 82a8cf379ee19dbc66c62bfe78b436d4ab6b497a (diff) |
Clean up command names, add aliases
Diffstat (limited to 'bpkg/build-options.cli')
-rw-r--r-- | bpkg/build-options.cli | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/bpkg/build-options.cli b/bpkg/build-options.cli deleted file mode 100644 index 77cfd72..0000000 --- a/bpkg/build-options.cli +++ /dev/null @@ -1,63 +0,0 @@ -// file : bpkg/build-options.cli -// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd -// license : MIT; see accompanying LICENSE file - -include <bpkg/configuration-options.cli>; - -"\section=1" -"\name=bpkg-build" -"\summary=build one or more packages" - -namespace bpkg -{ - { - "<options> <pkg> <ver> <file> <dir>", - - "\h|SYNOPSIS| - - \c{\b{bpkg build} [<options>] (<pkg>[/<ver>] | <file> | <dir>)...} - - \h|DESCRIPTION| - - The \cb{build} command builds one or more packages including all their - prerequisites. Each package can be specified as just the name (<pkg>) with - optional package version (<ver>) in which case the package will be - automatically fetched from one of the configuration's source repositories - (see the \cb{rep-add} and \cb{rep-fetch} commands). Alternatively, the - package can be specified as either the path to the package source archive - (<file>) or package source directory (<dir>). See the \cb{pkg-fetch} and - \cb{pkg-unpack} commands for more information on the semantics of - specifying the package as an archive or directory. - - Packages that are specified explicitly on the command line will be - \i{held}, that is, they will not be considered for automatic removal if - they no longer have any dependents. Packages that are specified with the - explicit package version (<ver>) or as an archive or directory, will, in - addition, have their versions held, that is, they will not be - automatically upgraded. - - The \cb{build} command also supports several \cb{--*-only} options that - allow you to limit the amount of work that will be done." - } - - class build_options: configuration_options - { - "\h|BUILD OPTIONS|" - - bool --yes|-y - { - "Assume the answer to all prompts is \cb{yes}." - } - - bool --configure-only|-c - { - "Configure all the packages but don't update." - } - - bool --print-only|-p - { - "Print to \cb{STDOUT} what would be done without actually doing - anything." - } - }; -} |