Add dev makefile target for setting up the local dev env

This commit is contained in:
2021-01-27 18:00:24 -05:00
parent e3b3b19b31
commit cc54e6243a
2 changed files with 13 additions and 8 deletions

View File

@@ -32,5 +32,9 @@ source: ## Build Python source distribution package
test: ## Run the project testsuite(s)
poetry run tox --recreate
publish: wheel source ## Build and upload to pypi (requires $PYPI_API_KEY be set)
dev: ## Create the local dev environment
poetry install -E poetry
poetry run pre-commit install
publish: test wheel source ## Build and upload to pypi (requires $PYPI_API_KEY be set)
@poetry publish --username __token__ --password $(PYPI_API_KEY)