Makefile: use a single venv

This commit is contained in:
Daniel Hahler
2018-07-15 21:00:58 +02:00
committed by Dave Halter
parent 5123dbbbc7
commit c6716c6392

View File

@@ -4,19 +4,20 @@ test:
build: build:
mkdir $@ mkdir $@
build/vint: | build build/venv: | build
virtualenv -p python3.6 $@ virtualenv -p python3.6 $@
$@/bin/pip install vim-vint==0.3.19
build/flake8: | build build/venv/bin/vint: | build/venv
virtualenv -p python3.6 $@ $|/bin/pip install vim-vint==0.3.19
$@/bin/pip install flake8==3.5.0
vint: build/vint build/venv/bin/flake8: | build/venv
build/vint/bin/vint after autoload ftplugin plugin $|/bin/pip install flake8==3.5.0
flake8: build/flake8 vint: build/venv/bin/vint
build/flake8/bin/flake8 pythonx/jedi_*.py build/venv/bin/vint after autoload ftplugin plugin
flake8: build/venv/bin/flake8
build/venv/bin/flake8 pythonx/jedi_*.py
check: vint flake8 check: vint flake8