diff options
| author | 2025-05-25 02:46:35 +0800 | |
|---|---|---|
| committer | 2025-05-25 10:48:36 +0800 | |
| commit | a2d64c304d429705ad68acced34eac53d38b8d5e (patch) | |
| tree | 0876c1490145de88c28802f053a8ad64db26c662 /scripts/check.sh | |
| parent | 3b749a544434eb03376f806b14be7b189b0378a0 (diff) | |
| download | soon-a2d64c304d429705ad68acced34eac53d38b8d5e.tar.gz soon-a2d64c304d429705ad68acced34eac53d38b8d5e.zip | |
feat: Add check script to verify presence of PKGBUILD in recent commits
Diffstat (limited to 'scripts/check.sh')
| -rw-r--r-- | scripts/check.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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 |