update makefile to use poetry for more things

This commit is contained in:
Jonathan Wren 2019-10-05 16:07:34 -07:00
parent 69995836ac
commit ff1a8bf6e9

View file

@ -11,11 +11,11 @@ clean:
rm -f *.html rm -f *.html
html: html:
mkdocs serve poetry run mkdocs serve
# Build GitHub Page from docs # Build GitHub Page from docs
docs: docs:
mkdocs gh-deploy poetry run mkdocs gh-deploy
format: ## check style with flake8 format: ## check style with flake8
poetry run black features jrnl poetry run black features jrnl
@ -31,7 +31,7 @@ dist: clean ## builds source and wheel package
release: dist ## package and upload a release release: dist ## package and upload a release
poetry publish poetry publish
mkdocs gh-deploy poetry run mkdocs gh-deploy
install: clean ## install the package to the active Python's site-packages install: clean ## install the package to the active Python's site-packages
poetry install poetry install