Files
fastapi-cache/Makefile

29 lines
386 B
Makefile
Raw Permalink Normal View History

2020-08-26 18:04:57 +08:00
up:
@poetry update
deps:
@poetry install --no-root --with=linting --all-extras
2020-08-26 18:04:57 +08:00
format: deps
@poetry run tox run -e format
2020-08-26 18:04:57 +08:00
lint: deps
@poetry run tox run -e lint
2020-08-26 18:04:57 +08:00
test: deps
@poetry run tox
test-parallel: deps
@poetry run tox run-parallel
2020-08-26 18:04:57 +08:00
2021-01-06 19:57:16 +08:00
build: clean deps
2020-08-26 18:04:57 +08:00
@poetry build
@poetry run tox run -e lint_distributions
2020-08-26 18:04:57 +08:00
2021-01-06 10:44:22 +08:00
clean:
@rm -rf ./dist
# aliases
check: lint
style: format