aboutsummaryrefslogtreecommitdiff
path: root/bdep/utility.hxx
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/utility.hxx
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/utility.hxx')
-rw-r--r--bdep/utility.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/bdep/utility.hxx b/bdep/utility.hxx
index 09e0e45..1ecdc6a 100644
--- a/bdep/utility.hxx
+++ b/bdep/utility.hxx
@@ -15,6 +15,7 @@
#include <libbutl/ft/lang.hxx>
#include <libbutl/utility.mxx> // casecmp(), reverse_iterate(), etc
+#include <libbutl/fdstream.mxx>
#include <libbutl/filesystem.mxx>
#include <bdep/types.hxx>
@@ -54,6 +55,10 @@ namespace bdep
using butl::auto_rmfile;
using butl::auto_rmdir;
+ // <libbutl/fdstream.mxx>
+ //
+ using butl::fdopen_pipe;
+
// Empty string and path.
//
extern const string empty_string;
@@ -118,6 +123,9 @@ namespace bdep
process
start_bpkg (const common_options&, O&& out, E&& err, A&&... args);
+ void
+ finish_bpkg (const common_options&, process&, bool io_error = false);
+
template <typename... A>
void
run_bpkg (const common_options&, A&&... args);