forked from JeffLIrion/adb_shell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
37 lines (30 loc) · 756 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
.PHONY: release
release:
rm -rf dist
scripts/git_tag.sh
python setup.py sdist bdist_wheel
twine upload dist/*
.PHONY: docs
docs:
rm -rf docs/build/html
@cd docs && sphinx-apidoc -f -e -o source/ ../adb_shell/
@cd docs && make html && make html
.PHONY: doxygen
doxygen:
rm -rf docs/html
doxygen Doxyfile
.PHONY: test
test:
python setup.py test
.PHONY: coverage
coverage:
coverage run --source adb_shell setup.py test && coverage html && coverage report -m
.PHONY: tdd
tdd:
coverage run --source adb_shell setup.py test && coverage report -m
.PHONY: lint
lint:
flake8 adb_shell/ && pylint adb_shell/
.PHONY: alltests
alltests:
flake8 adb_shell/ && pylint adb_shell/ && coverage run --source adb_shell setup.py test && coverage report -m