-
Notifications
You must be signed in to change notification settings - Fork 20
/
Makefile
55 lines (44 loc) · 1.03 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
48
49
50
51
52
53
54
55
.PHONY: docs
init:
pip install pipenv --upgrade
pipenv install --dev
all-tests:
tox -r
coverage xml -i
coverage html -i
py38-tests:
tox -re py38,pep8
coverage xml -i
coverage html -i
py39-tests:
tox -re py39,pep8
coverage xml -i
coverage html -i
py310-tests:
tox -re py310,pep8
coverage xml -i
coverage html -i
py311-tests:
tox -re py311,pep8
coverage xml -i
coverage html -i
integration-tests:
tox -re integrations
publish-test:
pip install 'twine>=1.5.0'
python setup.py sdist bdist_wheel
twine upload --repository testpypi dist/*
rm -fr build dist .egg requests.egg-info
publish:
pip install 'twine>=1.5.0'
python setup.py sdist bdist_wheel
twine upload dist/* --verbose
rm -fr build dist .egg requests.egg-info
docs:
sphinx-apidoc -o docs/source/ ownca/
cd docs && make clean && make html
@echo "\033[95m\n\nBuild successful! View the docs homepage at docs/_build/html/index.html.\n\033[0m"
requirements:
pipenv lock
pipenv requirements > requirements.txt
pipenv requirements --dev-only > requirements-dev.txt