diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-05-21 12:32:58 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-05-22 08:07:05 +0200 |
commit | ef36aaf7bca0c3c878400d70ca05cf5d57aac66d (patch) | |
tree | 7c0b471dd0888df8357b393ea75f248ac392cf7b /bdep/project.hxx | |
parent | 9e1330b726c5453755bcaffd1b746d5982357861 (diff) |
Implement config-remove subcommand
Diffstat (limited to 'bdep/project.hxx')
-rw-r--r-- | bdep/project.hxx | 11 |
1 files changed, 7 insertions, 4 deletions
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<shared_ptr<configuration>>; 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 |