diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-02-19 21:47:04 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-02-21 17:42:43 +0300 |
commit | 89dd478de7cf075beac69d0145df46f914cf35cf (patch) | |
tree | be960f2406d087135c6456cff654de1f24a91557 /bpkg/pkg-configure.hxx | |
parent | d75d1d9e1c5b03b17fdea1fa3638db2bfe5e8d12 (diff) |
Add support for pkg-checkout
Diffstat (limited to 'bpkg/pkg-configure.hxx')
-rw-r--r-- | bpkg/pkg-configure.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
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<selected_package> 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 |