mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
Makefile: let "lint" target run both clint and testlint
This commit is contained in:
parent
0bfc1f33a0
commit
2a74cba614
8
Makefile
8
Makefile
@ -94,7 +94,7 @@ functionaltest: | nvim
|
||||
functionaltest-lua: | nvim
|
||||
+$(BUILD_CMD) -C build functionaltest-lua
|
||||
|
||||
testlint: | nvim
|
||||
testlint: | build/.ran-cmake deps
|
||||
$(BUILD_CMD) -C build testlint
|
||||
|
||||
unittest: | nvim
|
||||
@ -115,10 +115,12 @@ distclean: clean
|
||||
install: | nvim
|
||||
+$(BUILD_CMD) -C build install
|
||||
|
||||
lint:
|
||||
clint:
|
||||
cmake -DLINT_PRG=./clint.py \
|
||||
-DLINT_DIR=src \
|
||||
-DLINT_SUPPRESS_URL="$(DOC_DOWNLOAD_URL_BASE)$(CLINT_ERRORS_FILE_PATH)" \
|
||||
-P cmake/RunLint.cmake
|
||||
|
||||
.PHONY: test testlint functionaltest unittest lint clean distclean nvim libnvim cmake deps install
|
||||
lint: clint testlint
|
||||
|
||||
.PHONY: test testlint functionaltest unittest lint clint clean distclean nvim libnvim cmake deps install
|
||||
|
Loading…
Reference in New Issue
Block a user