Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef-Friedrich committed Jun 18, 2024
1 parent ad753e0 commit d642f8d
Show file tree
Hide file tree
Showing 2 changed files with 1,190 additions and 1,074 deletions.
71 changes: 55 additions & 16 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,24 +1,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:
# @echo "PATH: $(PATH)"
# @echo
# @echo "PWD: $(shell pwd)"
# @echo

./test/lib/skeleton.sh --test
# ./test/lib/skeleton.sh --test

readme:
./test/lib/skeleton.sh --render-readme
# 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_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
# sync_dependencies:
# ./test/lib/skeleton.sh --sync-dependencies

.PHONY: readme sync_dependencies sync_skeleton test
# .PHONY: readme sync_dependencies sync_skeleton test
Loading

0 comments on commit d642f8d

Please sign in to comment.