aboutsummaryrefslogtreecommitdiff
path: root/bdep/sync.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-04-30 12:27:49 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-04-30 12:27:49 +0200
commit0eed5982bbca328cc6319d36708d64a285160972 (patch)
tree08adc035640e3869aac6c71ccd8b6cebd73ad442 /bdep/sync.cli
parentb2d5f82512d0118a0668ce02f1a0730c3dcd50b8 (diff)
Implement multi-project synchronization
Now the same configuration can be shared by multiple projects and a sync command from any of them (or from the build system hook) will synchronize everyting.
Diffstat (limited to 'bdep/sync.cli')
-rw-r--r--bdep/sync.cli4
1 files changed, 3 insertions, 1 deletions
diff --git a/bdep/sync.cli b/bdep/sync.cli
index 61d15cb..838a01c 100644
--- a/bdep/sync.cli
+++ b/bdep/sync.cli
@@ -206,7 +206,9 @@ namespace bdep
configurations are synchronized. To improve performance, especially for
the \"everything is already synchronized\" case, \cb{sync} executed in
this mode assumes that no configuration flags (see \l{bdep-config(1)})
- have changed since the last explicit synchronization.
+ have changed since the last explicit synchronization. It also does not
+ search for a project in the current working directory \- if any, its
+ directory should be specified explicitly with \c{\b{--config}|\b{-c}}.
To avoid recursive re-synchronization, the \cb{sync} command maintains
the \cb{BDEP_SYNCED_CONFIGS} environment variable. It contains a