aboutsummaryrefslogtreecommitdiff
path: root/bdep/sync.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-05-10 06:43:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-05-10 06:43:44 +0200
commite3133aa9628858bcfe414f95731831b5962358c7 (patch)
tree0c892fa9a8b84c664e92f1874327d3faeeaab31a /bdep/sync.hxx
parent8432e7eede97c2bb324c7b6578eaf9a1a2ae4282 (diff)
Support passing additional arguments to pkg-build in sync, init, new
Diffstat (limited to 'bdep/sync.hxx')
-rw-r--r--bdep/sync.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/bdep/sync.hxx b/bdep/sync.hxx
index 8edd4b4..0894c9b 100644
--- a/bdep/sync.hxx
+++ b/bdep/sync.hxx
@@ -13,6 +13,9 @@
namespace bdep
{
+ // The optional pkg_args are the additional dependency packages and/or
+ // configuration variables to pass to bpkg-pkg-build (see bdep-init).
+ //
// If fetch is false, don't perform a (shallow) fetch of the project
// repository. If yes is false, then don't suppress bpkg prompts.
//
@@ -20,12 +23,13 @@ namespace bdep
cmd_sync (const common_options&,
const dir_path& prj,
const shared_ptr<configuration>&,
+ const strings& pkg_args,
bool implicit,
bool fetch = true,
bool yes = true);
int
- cmd_sync (cmd_sync_options&&, cli::scanner& args);
+ cmd_sync (cmd_sync_options&&, cli::group_scanner& args);
}
#endif // BDEP_SYNC_HXX