dev: use stdlib for checks

This commit is contained in:
2026-06-02 06:22:29 +02:00
parent 736b0fc1f4
commit 983e2f34f7
5 changed files with 31 additions and 1 deletions
+8 -1
View File
@@ -1,13 +1,20 @@
alias fmt := format
alias fmtw := format-write
tags:
ctags -R .
dev:
./mkdev.sh
test:
bash test.sh
zsh test.sh
# ksh test.sh
format:
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