build(lint): commit linter

This commit is contained in:
Justin M. Keyes 2021-09-19 16:38:33 -07:00
parent 736299bf22
commit 41da72ffb6

View File

@ -166,7 +166,7 @@ _opt_pylint:
|| echo "SKIP: pylint (flake8 not found)" || echo "SKIP: pylint (flake8 not found)"
commitlint: commitlint:
$(realpath build/bin/nvim) --clean -es +"luafile scripts/lintcommit.lua" $(NVIM_PRG) --clean -es +"lua require('scripts.lintcommit').main({trace=false})"
_opt_commitlint: _opt_commitlint:
@test -x build/bin/nvim && { $(MAKE) commitlint; exit $$?; } \ @test -x build/bin/nvim && { $(MAKE) commitlint; exit $$?; } \