From ef36aaf7bca0c3c878400d70ca05cf5d57aac66d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 21 May 2018 12:32:58 +0200 Subject: Implement config-remove subcommand --- bdep/project.hxx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'bdep/project.hxx') diff --git a/bdep/project.hxx b/bdep/project.hxx index a01e5d7..2fc4fec 100644 --- a/bdep/project.hxx +++ b/bdep/project.hxx @@ -134,15 +134,18 @@ namespace bdep }; // Given the project directory, database, and options resolve all the - // mentioned configurations or find the default configuration if none were - // mentioned. + // mentioned configurations or, unless fallback_default is false, find the + // default configuration if none were mentioned. Unless validate is false, + // also validate that the configuration directories still exist. // using configurations = vector>; configurations - find_configurations (const dir_path& prj, + find_configurations (const project_options&, + const dir_path& prj, transaction&, - const project_options&); + bool fallback_default = true, + bool validate = true); // Given the project options (and CWD) locate the packages and their // project. The result is an absolute and normalized project directory and a -- cgit v1.1