chore: improve project checks
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user