forked from texperience/django-bootstrap-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (29 loc) · 863 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
28
29
30
31
32
33
34
35
36
37
38
39
.PHONY: clean-pyc develop
help:
@echo "clean-pyc - remove Python file artifacts"
@echo "lint - check style with linters"
@echo "test - run tests with the default Python version"
@echo "test-all - run tests with all supported Python versions"
@echo "coverage - check code coverage with the default Python"
clean: clean-deploy clean-pyc clean-tests
clean-deploy:
find . -name '*.egg-info' -exec rm -fr {} +
clean-pyc:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
clean-tests:
find . -name '.tox' -exec rm -fr {} +
find . -name '.coverage' -exec rm -f {} +
develop: clean-pyc
pip install -e .[testing]
lint:
flake8 bootstrap_ui
isort --check-only --diff --recursive bootstrap_ui
test:
python runtests.py
test-all:
tox
coverage:
coverage run runtests.py
coverage report -m