diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-10 08:15:20 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-10 08:15:20 +0200 |
commit | 4243d26ab9245b64f141c3733726f931c32eccdc (patch) | |
tree | 270f2ca22e0d17d84f9625319b612053b927cf23 /bpkg/pkg-command | |
parent | a17c27c85cfcaa2c686bc47d35fc78f646f17f94 (diff) |
Add support for passing several packages to pkg-{update,clean} commands
Diffstat (limited to 'bpkg/pkg-command')
-rw-r--r-- | bpkg/pkg-command | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bpkg/pkg-command b/bpkg/pkg-command index 4acbdf4..fca85c0 100644 --- a/bpkg/pkg-command +++ b/bpkg/pkg-command @@ -6,6 +6,8 @@ #define BPKG_PKG_COMMAND #include <bpkg/types> +#include <bpkg/utility> + #include <bpkg/forward> // selected_package #include <bpkg/configuration-options> @@ -23,6 +25,12 @@ namespace bpkg const dir_path& configuration, const common_options&, const shared_ptr<selected_package>&); + + void + pkg_command (const string& cmd, + const dir_path& configuration, + const common_options&, + const vector<shared_ptr<selected_package>>&); } #endif // BPKG_PKG_COMMAND |