aboutsummaryrefslogtreecommitdiff
path: root/bpkg/build-options.cli
blob: 1a8c035d8f74fdcea4d6cb1103f6257719100e66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// 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"

"\h{SYNOPSIS}

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 \cb{rep-add} and \cb{rep-fetch}). Alternatively,
the package can be specified as either the path to the package
source archive (<file>) or package source directory (<dir>). See
\cb{pkg-fetch} and \cb{pkg-unpack} for more information on the
semantics of specifying the package as an archive or directory.
*/

namespace bpkg
{
  class build_options: configuration_options
  {
    bool --print-only|-p
    {
      "Print to \cb{STDOUT} what would be done without actually doing
       anything."
    };
  };
}