initial commit

This commit is contained in:
2026-06-02 14:40:03 +02:00
commit a5089f815b
11 changed files with 581 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
alias fmt := format
alias fmtw := format-write
tags:
ctags -R .
dev:
./mkdev.sh
test:
bash test.sh
zsh test.sh &> /dev/null
# ksh test.sh
format: dev tags
git ls-files -z "*.sh" | xargs -0 shfmt -d
vendor/stdlib/scripts/check-tags.sh ./tags
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