mirror of
https://github.com/nvim-tree/nvim-tree.lua.git
synced 2026-07-28 07:49:46 +05:30
* 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.
53 lines
768 B
Makefile
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
|
|
|