-
Notifications
You must be signed in to change notification settings - Fork 27
/
Makefile
47 lines (39 loc) · 1.63 KB
/
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
43
44
45
46
47
.PHONY: clean-pyc ext-test test upload-docs docs coverage
all: clean black test coverage
black:
black -v -l 150 --include wiremock/*.py
black -v -l 150 --include wiremock/base/*.py
black -v -l 150 --include wiremock/exceptions/*.py
black -v -l 150 --include wiremock/resources/*.py
black -v -l 150 --include wiremock/resources/mappings/*.py
black -v -l 150 --include wiremock/resources/near_misses/*.py
black -v -l 150 --include wiremock/resources/requests/*.py
black -v -l 150 --include wiremock/resources/scenarios/*.py
black -v -l 150 --include wiremock/resources/settings/*.py
black -v -l 150 --include wiremock/server/*.py
black -v -l 150 --include wiremock/tests/*.py
black -v -l 150 --include wiremock/tests/base_tests/*.py
black -v -l 150 --include wiremock/tests/resource_tests/*.py
black -v -l 150 --include wiremock/tests/resource_tests/mappings_tests/*.py
black -v -l 150 --include wiremock/tests/resource_tests/near_misses_tests/*.py
black -v -l 150 --include wiremock/tests/resource_tests/requests_tests/*.py
black -v -l 150 --include wiremock/tests/resource_tests/scenarios_tests/*.py
black -v -l 150 --include wiremock/tests/resource_tests/settings_tests/*.py
black -v -l 150 --include wiremock/tests/server_tests/*.py
test:
bash run_tests.sh
coverage:
bash run_coverage.sh
release:
bash deploy_to_pypi.sh
tox-test:
PYTHONDONTWRITEBYTECODE= tox
clean:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
find . -name '#*' -exec rm -f {} +
find . -name '.#*' -exec rm -f {} +
find . -name '.bak' -exec rm -f {} +
docs:
poetry run mkdocs build --site-dir=html