This commit is contained in:
Mateusz Gruszczyński
2026-09-01 22:20:10 +02:00
parent 1cb62c8d0b
commit 16e0d94564
47 changed files with 2565 additions and 117 deletions
-1
View File
@@ -1 +0,0 @@
scripts/regenerate-sha.sh
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")"
MANIFEST="FILE_MANIFEST.sha256"
TMP="${MANIFEST}.tmp"
find . -type f \
! -path "./${MANIFEST}" \
! -path "./${TMP}" \
! -path "./.git/*" \
! -path "./target/*" \
-print0 \
| sort -z \
| xargs -0 sha256sum > "$TMP"
mv "$TMP" "$MANIFEST"
sha256sum -c "$MANIFEST"