-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathMakefile
42 lines (34 loc) · 941 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
40
41
42
help:
@echo " env install all production dependencies"
@echo " dev install all production and development dependencies"
@echo " docs build documentation"
@echo " clean clean working directory"
@echo " lint check style with pycodestyle"
@echo " test run tests"
@echo " build build the distribution"
@echo " coverage run tests with code coverage"
env:
pip install -r requirements.txt
dev: env
pip install -r requirements.dev.txt
pip install -r requirements.docs.txt
docs:
$(MAKE) -C doc html
clean:
rm -fr htmlcov
rm -fr dist
rm -fr .eggs
rm -fr *.egg-info
find . -name '*.pyc' -exec rm -f {} \;
find . -name '*.pyo' -exec rm -f {} \;
lint:
pycodestyle --config=setup.cfg hyperwallet
test: dev lint
python setup.py test
build: clean
python setup.py check
python setup.py sdist
coverage: clean
coverage run setup.py test
coverage html
coverage report