Fix tools makefile
This commit is contained in:
parent
7cb3501540
commit
4724a30937
|
@ -8,11 +8,16 @@ all: lint test
|
||||||
|
|
||||||
venv:
|
venv:
|
||||||
python3 -m venv venv
|
python3 -m venv venv
|
||||||
source venv/bin/active
|
source venv/bin/activate
|
||||||
pip install -r requirements-dev.txt
|
pip install -r requirements-dev.txt
|
||||||
|
|
||||||
lint: venv
|
lint: venv
|
||||||
|
source venv/bin/activate
|
||||||
pylint tools
|
pylint tools
|
||||||
|
|
||||||
test: venv
|
test: venv
|
||||||
|
source venv/bin/activate
|
||||||
pytest -n ${CPU_CORES} --color=yes -v .
|
pytest -n ${CPU_CORES} --color=yes -v .
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -Rf venv
|
||||||
|
|
Loading…
Reference in New Issue