diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-07-11 14:46:08 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-07-13 12:04:48 +0300 |
commit | f253fe820064310eee9aefc793328e84674d5c36 (patch) | |
tree | 1f7053ca5f7ac180c8d67abfc99aa142e168f4d4 /bpkg/manifest-utility.hxx | |
parent | d235d58f5521264e27decf416df74fa97f894307 (diff) |
Add support for build-file package manifest value
Diffstat (limited to 'bpkg/manifest-utility.hxx')
-rw-r--r-- | bpkg/manifest-utility.hxx | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/bpkg/manifest-utility.hxx b/bpkg/manifest-utility.hxx index abb85ab..85fbaee 100644 --- a/bpkg/manifest-utility.hxx +++ b/bpkg/manifest-utility.hxx @@ -155,16 +155,18 @@ namespace bpkg const package_info*); // Calculate the checksum of the buildfiles using the *-build manifest - // values. If the package source directory is specified (not empty), then - // use the files it contains for unspecified values. If the alt_naming flag - // is also specified for the latter case, then verify the package's - // buildfile naming scheme against its value and fail on mismatch. + // values and, if the package source directory is specified (not empty), + // build-file values. If the package source directory is specified, then + // also use the files it contains for unspecified values. If additionally + // the alt_naming flag is specified, then verify the package's buildfile + // naming scheme against its value and fail on mismatch. // string package_buildfiles_checksum (const optional<string>& bootstrap_build, const optional<string>& root_build, const vector<buildfile>& buildfiles, const dir_path& src_dir = {}, + const vector<path>& buildfile_paths = {}, optional<bool> alt_naming = nullopt); // Load the package's buildfiles for unspecified manifest values. Throw @@ -173,6 +175,10 @@ namespace bpkg // potential error description to be relative to the package source // directory. // + // Note that before calling this function you need to expand the build-file + // manifest values into the respective *-build values, for example, by + // calling manifest::load_files(). + // void load_package_buildfiles (package_manifest&, const dir_path& src_dir, |