-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
63 lines (45 loc) · 1.37 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
56
57
58
59
60
61
62
63
test:
poetry run tox
install: update
clear_poetry_cache:
poetry cache clear PyPI --all --no-interaction
poetry cache clear _default_cache --all --no-interaction
# https://github.com/python-poetry/poetry/issues/34#issuecomment-1054626460
install_editable:
pip install -e .
update: clear_poetry_cache
poetry lock
poetry install
build:
poetry build
publish:
poetry build
poetry publish
format:
poetry run tox -e format
docs:
poetry run tox -e docs
xdg-open docs/_build/index.html > /dev/null 2>&1
lint:
poetry run tox -e lint
pin_docs_requirements:
pip-compile --output-file=docs/requirements.txt docs/requirements.in pyproject.toml
.PHONY: test install install_editable update build publish format docs lint pin_docs_requirements
# Do not edit this file. It is managed by “skeleton”.
# For more informations: https://github.com/Josef-Friedrich/skeleton
# test:
# @echo "PATH: $(PATH)"
# @echo
# @echo "PWD: $(shell pwd)"
# @echo
# ./test/lib/skeleton.sh --test
# readme:
# ./test/lib/skeleton.sh --render-readme
# sync_skeleton:
# mkdir -p test/lib
# wget -O test/lib/skeleton.sh https://raw.githubusercontent.com/Josef-Friedrich/skeleton.sh/master/skeleton.sh
# chmod a+x test/lib/skeleton.sh
# ./test/lib/skeleton.sh --sync-skeleton
# sync_dependencies:
# ./test/lib/skeleton.sh --sync-dependencies
# .PHONY: readme sync_dependencies sync_skeleton test