initial commit

This commit is contained in:
2026-06-02 05:47:46 +02:00
commit 736b0fc1f4
8 changed files with 534 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
alias fmt := format
alias fmtw := format-write
test:
bash test.sh
zsh test.sh
# ksh test.sh
format:
git ls-files -z "*.sh" | xargs -0 shfmt -d
format-write:
git ls-files -z "*.sh" | xargs -0 shfmt -w
check:
codespell
git ls-files -z "*.sh" | xargs -0 shellcheck
! rg -i "# (FIXME|TODO)"
pre-commit: format check test