diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-02-21 22:54:05 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-02-22 18:06:12 +0300 |
commit | 309cccfffc15657dd8654aa6a14e444bb47417ae (patch) | |
tree | 887a16bb6faa467ee490b608f79c7a0de7e109ca /bpkg/manifest-utility.hxx | |
parent | d7a819061ea818cd69a7ab49182e407bec44b014 (diff) |
Increment version iteration for external packages on buildfiles change
Diffstat (limited to 'bpkg/manifest-utility.hxx')
-rw-r--r-- | bpkg/manifest-utility.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bpkg/manifest-utility.hxx b/bpkg/manifest-utility.hxx index f293ef5..8701b65 100644 --- a/bpkg/manifest-utility.hxx +++ b/bpkg/manifest-utility.hxx @@ -153,6 +153,15 @@ namespace bpkg package_checksum (const common_options&, const dir_path& src_dir, const package_info*); + + // Caclulate the checksum of the buildfiles using the *-build manifest + // values, unless unspecified in which case use the files in the package + // source directory. + // + string + package_buildfiles_checksum (const optional<string>& bootstrap_build, + const optional<string>& root_build, + const dir_path& src_dir); } #endif // BPKG_MANIFEST_UTILITY_HXX |