aboutsummaryrefslogtreecommitdiff
path: root/bdep/project.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-05-23 18:30:01 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-05-24 17:18:33 +0300
commitf4e192564a6e048eef14f21ab4d269874b6bfba3 (patch)
treeb7b5ca697f64044dcf10129fef9777ba632379ca /bdep/project.cxx
parente65b3fd3f273a4377f07872c8bb944858b8d3153 (diff)
Adapt to inventing package_name type
Diffstat (limited to 'bdep/project.cxx')
-rw-r--r--bdep/project.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/bdep/project.cxx b/bdep/project.cxx
index 59ba21e..ec323cb 100644
--- a/bdep/project.cxx
+++ b/bdep/project.cxx
@@ -233,11 +233,11 @@ namespace bdep
dir_path d (path_cast<dir_path> (move (*m.location)));
d.normalize (false /* actualize */, true /* cur_empty */);
- pls.push_back (package_location {string (), move (d)});
+ pls.push_back (package_location {package_name (), move (d)});
}
}
else if (exists (prj / manifest_file))
- pls.push_back (package_location {string (), dir_path ()});
+ pls.push_back (package_location {package_name (), dir_path ()});
else if (!allow_empty)
fail << "no packages in project " << prj;
@@ -305,7 +305,8 @@ namespace bdep
{
// Name is to be extracted later.
//
- r.packages.push_back (package_location {"", move (*p.package)});
+ r.packages.push_back (
+ package_location {package_name (), move (*p.package)});
}
}
}
@@ -320,7 +321,7 @@ namespace bdep
{
// Name is to be extracted later.
//
- r.packages.push_back (package_location {"", *p.package});
+ r.packages.push_back (package_location {package_name (), *p.package});
}
}