Files
fastapi-cache/Makefile
Martijn Pieters 282fcc7cea 📦 Move PyPI release workflow into the main workflow.
This ensures that any releases are fully tested before publication.

The workflow first builds the distribution files (sdist, wheel) before
using a deployment environment to publish these to PyPI, using the
GitHub actions OpenID support to authenticate with PyPI.
2023-05-17 11:33:25 +01:00

29 lines
386 B
Makefile

up:
@poetry update
deps:
@poetry install --no-root --with=linting --all-extras
format: deps
@poetry run tox run -e format
lint: deps
@poetry run tox run -e lint
test: deps
@poetry run tox
test-parallel: deps
@poetry run tox run-parallel
build: clean deps
@poetry build
@poetry run tox run -e lint_distributions
clean:
@rm -rf ./dist
# aliases
check: lint
style: format