aboutsummaryrefslogtreecommitdiff
path: root/bdep/project.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-12-15 14:45:24 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2019-01-10 19:43:09 +0300
commitbf3d969ef2dbc615bd528f559920bcf532dda910 (patch)
tree8f965c8a2d883f48fd643bc4cdb3f891ef182b99 /bdep/project.cxx
parent884b16c882863f1eb5144a4bf7d1739bdf99a271 (diff)
Implement bdep-release that manages project's version during release
Diffstat (limited to 'bdep/project.cxx')
-rw-r--r--bdep/project.cxx6
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));