diff options
Diffstat (limited to 'bdep/utility.hxx')
-rw-r--r-- | bdep/utility.hxx | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/bdep/utility.hxx b/bdep/utility.hxx index af85355..36a405c 100644 --- a/bdep/utility.hxx +++ b/bdep/utility.hxx @@ -14,8 +14,7 @@ #include <libbutl/ft/lang.hxx> -#include <libbutl/utility.mxx> // casecmp(), reverse_iterate(), etc - +#include <libbutl/utility.mxx> // casecmp(), reverse_iterate(), etc #include <libbutl/filesystem.mxx> #include <bdep/types.hxx> @@ -89,6 +88,21 @@ namespace bdep void rm (const path&, uint16_t verbosity = 3); + // Run the bpkg process. + // + class common_options; + + const char* + name_bpkg (const common_options&); + + template <typename O, typename E, typename... A> + process + start_bpkg (const common_options&, O&& out, E&& err, A&&... args); + + template <typename... A> + process_exit + run_bpkg (const common_options&, A&&... args); + // Manifest parsing and serialization. // // For parsing, if path is '-', then read from stdin. |