chore: improve project checks

This commit is contained in:
2026-05-29 11:53:03 +02:00
parent cebff7f3a8
commit e5494ecc0b
2 changed files with 57 additions and 13 deletions
+13 -9
View File
@@ -1,12 +1,16 @@
.PHONY: all check lint test format
.PHONY: all check format format-check lint test
check: format lint test
test:
@scripts/test
lint:
@scripts/lint
all: format check
check: format-check lint test
format:
@stylua .
@stylua $(or $(FILES),.)
format-check:
@stylua --check $(or $(FILES),.)
lint:
@scripts/lint $(FILES)
test:
@scripts/test $(FILES)