Skip to content

Commit

Permalink
Add running the type checker to the makefile.
Browse files Browse the repository at this point in the history
Ideally this would happen through pre-commit and run in CI, but there's
no hook that can currently do so :/
  • Loading branch information
Julian committed Oct 15, 2023
1 parent af91fdb commit 10e2f57
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,6 @@ install-luacov:

lint:
pre-commit run --all-files
if [ -x $$(command -v lua-language-server) ]; then \
lua-language-server --check lua/lean --checklevel=Warning --configpath $(PWD)/.luarc.json; \
fi

0 comments on commit 10e2f57

Please sign in to comment.