From e3133aa9628858bcfe414f95731831b5962358c7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 10 May 2018 06:43:44 +0200 Subject: Support passing additional arguments to pkg-build in sync, init, new --- bdep/sync.hxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bdep/sync.hxx') 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&, + 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 -- cgit v1.1