aboutsummaryrefslogtreecommitdiff
path: root/bdep/sync.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-10-24 15:16:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-10-24 15:16:42 +0200
commitf96f707ae4598e2ecc616a6e2aa47ace943c7eb5 (patch)
treee8ebc2fbece9a67b2533a8fc166a9384a73d9e19 /bdep/sync.hxx
parent04be612dead00c36c8c6ff748c252e8e5d3b1e5c (diff)
Add --forward option to bdep-submit
This option instructs the submit command to use each package's forwarded configuration in order to prepare the distributions. This help with setups where there is no single configuration that had all the packages (such as a build system module project).
Diffstat (limited to 'bdep/sync.hxx')
-rw-r--r--bdep/sync.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/bdep/sync.hxx b/bdep/sync.hxx
index 5711a3f..a74b228 100644
--- a/bdep/sync.hxx
+++ b/bdep/sync.hxx
@@ -31,6 +31,16 @@ namespace bdep
bool yes = true,
bool name_cfg = false);
+ // As above but perform an implicit sync without a configuration object
+ // (i.e., as if from the hook).
+ //
+ void
+ cmd_sync_implicit (const common_options&,
+ const dir_path& cfg,
+ bool fetch = true,
+ bool yes = true,
+ bool name_cfg = true);
+
int
cmd_sync (cmd_sync_options&&, cli::group_scanner& args);