mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -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
|
functionaltest-lua: | nvim
|
||||||
+$(BUILD_CMD) -C build functionaltest-lua
|
+$(BUILD_CMD) -C build functionaltest-lua
|
||||||
|
|
||||||
testlint: | nvim
|
testlint: | build/.ran-cmake deps
|
||||||
$(BUILD_CMD) -C build testlint
|
$(BUILD_CMD) -C build testlint
|
||||||
|
|
||||||
unittest: | nvim
|
unittest: | nvim
|
||||||
@ -115,10 +115,12 @@ distclean: clean
|
|||||||
install: | nvim
|
install: | nvim
|
||||||
+$(BUILD_CMD) -C build install
|
+$(BUILD_CMD) -C build install
|
||||||
|
|
||||||
lint:
|
clint:
|
||||||
cmake -DLINT_PRG=./clint.py \
|
cmake -DLINT_PRG=./clint.py \
|
||||||
-DLINT_DIR=src \
|
-DLINT_DIR=src \
|
||||||
-DLINT_SUPPRESS_URL="$(DOC_DOWNLOAD_URL_BASE)$(CLINT_ERRORS_FILE_PATH)" \
|
-DLINT_SUPPRESS_URL="$(DOC_DOWNLOAD_URL_BASE)$(CLINT_ERRORS_FILE_PATH)" \
|
||||||
-P cmake/RunLint.cmake
|
-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