forked from djrobstep/sqlakeyset
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (27 loc) · 620 Bytes
/
Copy pathMakefile
File metadata and controls
39 lines (27 loc) · 620 Bytes
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
28
29
30
31
32
33
34
35
36
37
38
39
# test commands and arguments
tcommand = PYTHONPATH=. py.test -x
tmessy = -svv
targs = --cov-report term-missing --cov sqlakeyset --junitxml=test-reports/pytest-`date +%s`.xml
pip:
pip install --upgrade pip
pip install --upgrade -r requirements.txt
pipeditable:
pip install -e .
tox:
tox tests
test:
$(tcommand) $(targs) tests
stest:
$(tcommand) $(tmessy) $(targs) tests
clean:
find . -name \*.pyc -delete
rm -rf build
rm -rf dist
lint:
flake8 sqlakeyset
flake8 tests
tidy: clean fmt lint
all: pipupgrade clean lint tox
publish:
python setup.py sdist bdist_wheel --universal
twine upload dist/*