From 89dd478de7cf075beac69d0145df46f914cf35cf Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 19 Feb 2018 21:47:04 +0300 Subject: Add support for pkg-checkout --- bpkg/pkg-configure.hxx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'bpkg/pkg-configure.hxx') diff --git a/bpkg/pkg-configure.hxx b/bpkg/pkg-configure.hxx index 651daba..9ad36f4 100644 --- a/bpkg/pkg-configure.hxx +++ b/bpkg/pkg-configure.hxx @@ -30,6 +30,15 @@ namespace bpkg // shared_ptr pkg_configure_system (const string& name, const version&, transaction&); + + // Verify that a directory is a valid package and return its prerequisites. + // Fail if the directory is not a valid package or some of the prerequisites + // are not configured or don't satisfy the package's dependency constraints. + // + package_prerequisites + pkg_configure_prerequisites (const common_options&, + transaction&, + const dir_path& package); } #endif // BPKG_PKG_CONFIGURE_HXX -- cgit v1.1