From b7f2331713003e479388d9decc4621e3ee77f716 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 24 Oct 2019 16:02:58 +0200 Subject: Add --no-sync option to bdep-init This allows postponing initialization in the build configurations to a later explicit bdep-sync. One subtle difference with such an explicit sync is that it will be performed without having the project database open, which can be important if our initialization triggers an implicit sync (via a hook) of a project that uses the same database (as is the case with build system module projects). --- bdep/init.cli | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bdep/init.cli') diff --git a/bdep/init.cli b/bdep/init.cli index cb9c9f8..5071913 100644 --- a/bdep/init.cli +++ b/bdep/init.cli @@ -166,5 +166,12 @@ namespace bdep "", "Create a new build configuration in ." } + + bool --no-sync + { + "Enter the project into the database but do not initialize it in the + build configurations. The initialization can be finished later with + an explicit \l{bdep-sync(1)} command." + } }; } -- cgit v1.1