Files
jedi-vim/Makefile
2018-08-01 22:50:23 +02:00

34 lines
644 B
Makefile

test:
pytest test_*.py
test_nvim:
VSPEC_VIM=nvim pytest test_*.py
test_coverage: export PYTEST_ADDOPTS:=--cov pythonx --cov test --cov-report=term-missing:skip-covered
test_coverage: test_nvim
build:
mkdir $@
build/venv: | build
virtualenv -p python3.6 $@
build/venv/bin/vint: | build/venv
$|/bin/pip install -q vim-vint==0.3.19
build/venv/bin/flake8: | build/venv
$|/bin/pip install -q flake8==3.5.0
vint: build/venv/bin/vint
build/venv/bin/vint after autoload ftplugin plugin
flake8: build/venv/bin/flake8
build/venv/bin/flake8 pythonx/jedi_*.py
check: vint flake8
clean:
rm -rf build
.PHONY: test check clean vint flake8