From 07ab59a93f9447d5489743e8d7e19b6adb5ebbf1 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 9 Jul 2021 20:55:15 +0300 Subject: Add support for configuration type and bdep-config-link sub-command --- bdep/config.hxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'bdep/config.hxx') diff --git a/bdep/config.hxx b/bdep/config.hxx index 049f030..111ce15 100644 --- a/bdep/config.hxx +++ b/bdep/config.hxx @@ -12,13 +12,17 @@ namespace bdep { + // If type is nullopt, then query the bpkg configuration type. + // shared_ptr - cmd_config_add (const configuration_add_options&, + cmd_config_add (const common_options&, + const configuration_add_options&, const dir_path& prj, const package_locations&, database&, dir_path path, optional name, + optional type, optional id = nullopt, const char* what = "added"); @@ -31,6 +35,7 @@ namespace bdep dir_path path, const strings& args, optional name, + string type, optional id = nullopt); int -- cgit v1.1