aboutsummaryrefslogtreecommitdiff
path: root/bdep/project.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-07-31 09:15:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-07-31 09:15:45 +0200
commit7c5d099c8d1142ffd2c05863169a624c2711eb1c (patch)
tree70dbe4dc6dda2891107fa49d04ffb4b7edea3833 /bdep/project.hxx
parent8fb57cc32b6db9121989d856d3465e81f4cdfdd0 (diff)
Extract project from manifest in bdep-publish
Diffstat (limited to 'bdep/project.hxx')
-rw-r--r--bdep/project.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/bdep/project.hxx b/bdep/project.hxx
index cb0b2d4..4047dc5 100644
--- a/bdep/project.hxx
+++ b/bdep/project.hxx
@@ -188,8 +188,9 @@ namespace bdep
//
struct package_location
{
- package_name name;
- dir_path path;
+ package_name name;
+ optional<package_name> project; // Same semantics as in package_manifest.
+ dir_path path;
};
using package_locations = vector<package_location>;