mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00
build: lint: fix exit with optional pylint
Ref: https://github.com/neovim/neovim/pull/10714#issuecomment-518932355
This commit is contained in:
2
Makefile
2
Makefile
@@ -185,7 +185,7 @@ appimage-%:
|
|||||||
lint: check-single-includes clint lualint
|
lint: check-single-includes clint lualint
|
||||||
@# Run pylint only if flake8 is installed.
|
@# Run pylint only if flake8 is installed.
|
||||||
@command -v flake8 \
|
@command -v flake8 \
|
||||||
&& { $(MAKE) pylint; exit $?; } \
|
&& { $(MAKE) pylint; exit $$?; } \
|
||||||
|| echo "SKIP: pylint (flake8 not found)"
|
|| echo "SKIP: pylint (flake8 not found)"
|
||||||
|
|
||||||
# Generic pattern rules, allowing for `make build/bin/nvim` etc.
|
# Generic pattern rules, allowing for `make build/bin/nvim` etc.
|
||||||
|
Reference in New Issue
Block a user