diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-12-15 14:45:24 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-01-10 19:43:09 +0300 |
commit | bf3d969ef2dbc615bd528f559920bcf532dda910 (patch) | |
tree | 8f965c8a2d883f48fd643bc4cdb3f891ef182b99 /bdep/project.cxx | |
parent | 884b16c882863f1eb5144a4bf7d1739bdf99a271 (diff) |
Implement bdep-release that manages project's version during release
Diffstat (limited to 'bdep/project.cxx')
-rw-r--r-- | bdep/project.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bdep/project.cxx b/bdep/project.cxx index 8178b01..f6ca5bf 100644 --- a/bdep/project.cxx +++ b/bdep/project.cxx @@ -263,15 +263,15 @@ namespace bdep } project_packages - find_project_packages (const project_options& po, + find_project_packages (const dir_paths& dirs, bool ignore_packages, bool load_packages) { project_packages r; - if (po.directory_specified ()) + if (!dirs.empty ()) { - for (const dir_path& d: po.directory ()) + for (const dir_path& d: dirs) { project_package p (find_project_package (d)); |