forked from areski/a2billing-flask-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (20 loc) · 640 Bytes
/
Makefile
File metadata and controls
27 lines (20 loc) · 640 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
.PHONY: docs release clean build install test
test: buildenv install
. a2billing_flask_api_env/bin/activate; python setup.py test
buildenv:
virtualenv a2billing_flask_api_env
. a2billing_flask_api_env/bin/activate; pip install -Ur requirements.txt
# assume that the developer already works with virtualenv
# or virtualenv-wrapper
install:
. a2billing_flask_api_env/bin/activate; python setup.py install
coverage: install
coverage run --source=a2billing_flask_api setup.py test
coverage report
coverage html
docs: buildenv
$(MAKE) -C docs;
clean:
rm -rf a2billing_flask_api_env htmlcov
cleanall: clean
$(MAKE) -C docs clean