aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSteven Arcangeli <stevearc@stevearc.com>2023-08-28 07:33:57 -0700
committerSteven Arcangeli <stevearc@stevearc.com>2023-08-28 07:43:51 -0700
commit7f9370a8e704dc9fda25681b2077c20fe2a3fa5f (patch)
tree924ef6e606621e4b9f450162309b66109ef3af61 /Makefile
parent90e8a8d63c7d77d1872dca3da720abfa07271054 (diff)
doc: move doc scripts around and eliminate submodule
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..3a52951
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+.PHONY: doc test lint
+
+doc: scripts/nvim_doc_tools
+ python scripts/main.py generate
+
+test:
+ ./run_tests.sh
+
+lint: scripts/nvim-typecheck-action scripts/nvim_doc_tools
+ python scripts/main.py lint
+ luacheck lua tests --formatter plain
+ stylua --check lua tests
+ ./scripts/nvim-typecheck-action/typecheck.sh lua
+
+scripts/nvim_doc_tools:
+ git clone https://github.com/stevearc/nvim_doc_tools scripts/nvim_doc_tools
+
+scripts/nvim-typecheck-action:
+ git clone https://github.com/stevearc/nvim-typecheck-action scripts/nvim-typecheck-action