initial commit

This commit is contained in:
2026-06-02 06:09:41 +02:00
commit 8d15b834c3
13 changed files with 510 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
alias fmt := format
alias fmtw := format-write
tags:
ctags -R .
test:
scripts/check-tags.sh test/tags/valid-tags
! scripts/check-tags.sh test/tags/invalid-tags 2>/dev/null
! scripts/check-tags.sh test/tags/invalid-tags2 2>/dev/null
format: tags
git ls-files -z "*.sh" | xargs -0 shfmt -d
./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