All checks were successful
NeoVim tests / code-quality (push) Successful in 1m27s
22 lines
418 B
Makefile
22 lines
418 B
Makefile
all: lint fmt-check test
|
|
|
|
lint:
|
|
@echo "## Typechecking"
|
|
@lua-language-server --check=lua/u/ --checklevel=Error
|
|
|
|
fmt-check:
|
|
@echo "## Checking code format"
|
|
@stylua --check .
|
|
|
|
fmt:
|
|
@echo "## Formatting code"
|
|
@stylua .
|
|
|
|
test:
|
|
@rm -f luacov.*.out
|
|
@echo "## Running tests"
|
|
@busted --coverage --verbose
|
|
@echo "## Generating coverage report"
|
|
@luacov
|
|
@awk '/^Summary$$/{flag=1;next} flag{print}' luacov.report.out
|