forked from marazmiki/django-selectel-storage
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (23 loc) · 651 Bytes
/
Makefile
File metadata and controls
34 lines (23 loc) · 651 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
.PHONY: test release flake8 coverage clean coveralls
project_name=django_selectel_storage
test:
python setup.py develop
python setup.py test
python setup.py develop --uninstall
release:
python setup.py sdist --format=zip,bztar,gztar register upload
python setup.py bdist_wheel register upload
flake8:
flake8 ${project_name} setup.py tests.py
coverage:
python setup.py develop
coverage run --rcfile=.coveragerc --include=${project_name}/* setup.py test
coverage html
clean:
python setup.py develop --uninstall
rm -rf *.egg-info *.egg
rm -rf htmlcov
rm -f .coverage
find . -name "*.pyc" -exec rm -rf {} \;
coveralls:
coveralls