Files
nvim-tree.lua/Makefile
Alexander Courtis 5a1d08bc0c docs: remove lintdoc from help-check, skip the name checker during help-update (#3322)
* docs: remove lintdoc from help-check, skip the name checker during help-update

* docs: test new help-check

* Revert "docs: test new help-check"

This reverts commit 52128372ca.
2026-04-26 09:16:14 +10:00

53 lines
768 B
Makefile

all: lint style check
#
# mandatory checks
#
lint: luacheck
style: style-check style-doc
check: luals
#
# subtasks
#
luacheck:
luacheck --codes --quiet lua --exclude-files "**/_meta/**"
style-check:
scripts/luals-check.sh codestyle-check
style-doc:
scripts/doc-comments.sh
luals:
scripts/luals-check.sh
#
# format
#
format-fix:
CodeFormat format --config .editorconfig --workspace lua
format-check:
CodeFormat format --config .editorconfig --workspace lua
git diff --exit-code lua
#
# utility
#
help-update:
scripts/vimdoc.sh doc
scripts/help-defaults.sh
#
# CI
#
help-check: help-update
git diff --exit-code doc/nvim-tree-lua.txt
.PHONY: all lint style check luacheck style-check style-doc luals format-fix format-check help-update help-check