summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a013f99..c0a478c 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,10 @@ lua_fmt:
echo "===> Formatting"
stylua lua/ --config-path=.stylua.toml
+lua_fmt_check:
+ echo "===> Checking format"
+ stylua lua/ --config-path=.stylua.toml --check
+
lua_lint:
echo "===> Linting"
luacheck lua/ --globals vim
@@ -15,4 +19,4 @@ lua_clean:
echo "===> Cleaning"
rm /tmp/lua_*
-pr-ready: lua_clean lua_fmt lua_lint lua_test
+pr_ready: lua_lint lua_test lua_fmt_check