aboutsummaryrefslogtreecommitdiff
path: root/bdep/sync.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/sync.cxx
parent884b16c882863f1eb5144a4bf7d1739bdf99a271 (diff)
Implement bdep-release that manages project's version during release
Diffstat (limited to 'bdep/sync.cxx')
-rw-r--r--bdep/sync.cxx17
1 files changed, 10 insertions, 7 deletions
diff --git a/bdep/sync.cxx b/bdep/sync.cxx
index b9a83a0..dfc9f9c 100644
--- a/bdep/sync.cxx
+++ b/bdep/sync.cxx
@@ -115,16 +115,19 @@ namespace bdep
// Project to be synchronized.
//
- struct project
+ namespace
{
- dir_path path;
- shared_ptr<configuration> config;
+ struct project
+ {
+ dir_path path;
+ shared_ptr<configuration> config;
- bool implicit;
- bool fetch;
- };
+ bool implicit;
+ bool fetch;
+ };
- using projects = small_vector<project, 1>;
+ using projects = small_vector<project, 1>;
+ }
// Append the list of additional (to origin, if not empty) projects that are
// using this configuration.