aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-configure
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-10-10 17:48:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-10-10 17:48:03 +0200
commitddf8c2b62fa09eb765afc0c093d0d8908f7b69e4 (patch)
tree5956e674e0cb368061a9a9eb6d8bf742f96ffa75 /bpkg/pkg-configure
parentec931aa6550b47461e92062a703e6ef9f4c24b17 (diff)
Complete build command
Diffstat (limited to 'bpkg/pkg-configure')
-rw-r--r--bpkg/pkg-configure9
1 files changed, 9 insertions, 0 deletions
diff --git a/bpkg/pkg-configure b/bpkg/pkg-configure
index e314e52..b042e60 100644
--- a/bpkg/pkg-configure
+++ b/bpkg/pkg-configure
@@ -6,12 +6,21 @@
#define BPKG_PKG_CONFIGURE
#include <bpkg/types>
+#include <bpkg/forward> // transaction, selected_package
#include <bpkg/pkg-configure-options>
namespace bpkg
{
void
pkg_configure (const pkg_configure_options&, cli::scanner& args);
+
+ // Configure the package, update its state, and commit the transaction.
+ //
+ void
+ pkg_configure (const dir_path& configuration,
+ transaction&,
+ const shared_ptr<selected_package>&,
+ const strings& config_vars);
}
#endif // BPKG_PKG_CONFIGURE