Files
jedi-vim/Makefile
Daniel Hahler 132d8506ab tests: move/rename/cleanup vspec based tests (#860)
The main motivation is to being able to use normal/other pytest based
tests.

Therefore this moves everything from conftest into test_integration
itself.
2018-08-01 23:57:37 +02:00

34 lines
624 B
Makefile

test:
pytest
test_nvim:
VSPEC_VIM=nvim pytest
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