forked from SatelliteQE/betelgeuse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
42 lines (29 loc) · 765 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
all: test-coverage lint docs-html package
docs-clean:
@cd docs; $(MAKE) clean
docs-html:
@cd docs; $(MAKE) html
init:
pip install -r requirements.txt
init-dev:
pip install -r requirements-dev.txt
lint:
flake8 betelgeuse/ tests/
package: package-clean
python setup.py --quiet sdist bdist_wheel
package-clean:
rm -rf build dist Betelgeuse.egg-info
publish: package
twine upload dist/*
test-publish:
python setup.py register -r testpypi
python setup.py sdist upload -r testpypi
python setup.py bdist_wheel upload -r testpypi
test:
py.test -vv tests
test-coverage:
py.test -vv --cov-report term --cov=betelgeuse tests
test-watch:
ptw tests
.PHONY: all docs-clean docs-html init init-dev lint publish test-publish test \
test-coverage