From 4649f66c004faa107473d7d891f9a6b8a1e4bfbb Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Thu, 11 Jul 2024 07:35:44 -0500 Subject: [PATCH] updated build system --- scripts/make_common.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/make_common.sh b/scripts/make_common.sh index e45c55a1..ed096dad 100755 --- a/scripts/make_common.sh +++ b/scripts/make_common.sh @@ -84,3 +84,10 @@ ln -sf "${PROJECT_BUILD_DIR}/build/compile_commands.json" "${SOURCE_DIR}/compile if [ -f "${SOURCE_DIR}/post_build.sh" ]; then "${SOURCE_DIR}/post_build.sh" fi + +pushd "${PROJECT_DIST_DIR}" +FILE_LIST=$(find . -type f) +for FILE in "${FILE_LIST[@]}"; do + sha256sum ${FILE} >${FILE}.sha256 +done +popd