From a2d64c304d429705ad68acced34eac53d38b8d5e Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Sun, 25 May 2025 02:46:35 +0800 Subject: feat: Add check script to verify presence of PKGBUILD in recent commits --- scripts/check.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 scripts/check.sh (limited to 'scripts/check.sh') diff --git a/scripts/check.sh b/scripts/check.sh new file mode 100644 index 0000000..0b6f370 --- /dev/null +++ b/scripts/check.sh @@ -0,0 +1,4 @@ +for hash in $(git rev-list --max-count=10 HEAD); do + echo "Checking $hash..." + git ls-tree --name-only -r $hash | grep -q '^PKGBUILD$' || echo "❌ Missing PKGBUILD in $hash" +done \ No newline at end of file -- cgit v1.2.3-70-g09d2