forked from betodealmeida/shillelagh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
27 lines (21 loc) · 751 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
pyenv: .python-version
.python-version: setup.cfg
if [ -z "`pyenv virtualenvs | grep shillelagh`" ]; then\
pyenv virtualenv shillelagh;\
fi
if [ ! -f .python-version ]; then\
pyenv local shillelagh;\
fi
pip install -e '.[testing]'
touch .python-version
test: pyenv
pytest --cov=src/shillelagh -vv tests/ --doctest-modules src/shillelagh --without-integration --without-slow-integration
integration: pyenv
pytest --cov=src/shillelagh -vv tests/ --doctest-modules src/shillelagh --with-integration --with-slow-integration
clean:
pyenv virtualenv-delete shillelagh
spellcheck:
codespell -S "*.json" src/shillelagh docs/*rst tests templates
requirements.txt: .python-version
pip install --upgrade pip
pip-compile --no-annotate