-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9ea90c2
commit fb24a4a
Showing
2 changed files
with
1,219 additions
and
465 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,38 @@ | ||
# 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 | ||
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 | ||
|
||
./test/lib/skeleton.sh --test | ||
format: | ||
poetry run tox -e format | ||
|
||
readme: | ||
./test/lib/skeleton.sh --render-readme | ||
docs: | ||
poetry run tox -e docs | ||
xdg-open docs/_build/index.html > /dev/null 2>&1 | ||
|
||
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 | ||
lint: | ||
poetry run tox -e lint | ||
|
||
sync_dependencies: | ||
./test/lib/skeleton.sh --sync-dependencies | ||
pin_docs_requirements: | ||
pip-compile --output-file=docs/requirements.txt docs/requirements.in pyproject.toml | ||
|
||
.PHONY: readme sync_dependencies sync_skeleton test | ||
.PHONY: test install install_editable update build publish format docs lint pin_docs_requirements |
Oops, something went wrong.