aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSteven Arcangeli <stevearc@stevearc.com>2023-08-28 18:28:00 -0700
committerSteven Arcangeli <stevearc@stevearc.com>2023-08-28 18:28:00 -0700
commit9bb703e9ad738f9e5380d1e8e69cb4e36bed2366 (patch)
tree79b4644a7195252e792c4a34ba5b5db099b3cecf /Makefile
parentd508ae8f46b5b41e2806b412311719a941167c1a (diff)
tools: split fast and slow lint commands
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3a52951..85ff804 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-.PHONY: doc test lint
+.PHONY: doc test lint fastlint
doc: scripts/nvim_doc_tools
python scripts/main.py generate
@@ -6,10 +6,12 @@ doc: scripts/nvim_doc_tools
test:
./run_tests.sh
-lint: scripts/nvim-typecheck-action scripts/nvim_doc_tools
+fastlint: scripts/nvim_doc_tools
python scripts/main.py lint
luacheck lua tests --formatter plain
stylua --check lua tests
+
+lint: scripts/nvim-typecheck-action fastlint
./scripts/nvim-typecheck-action/typecheck.sh lua
scripts/nvim_doc_tools: