jrnl/Makefile
2020-04-18 12:35:46 -07:00

30 lines
530 B
Makefile

# A Makefile for commands I run frequently:
clean:
rm -rf dist
rm -rf _static
rm -rf jrnl.egg-info
rm -rf _build
rm -rf _sources
rm -rf _static
rm -rf site/
rm -f *.html
html:
poetry run mkdocs serve
format: ## Format files to match style
poetry run black .
lint: ## Check style with various tools
poetry run black --check --diff .
poetry run pyflakes .
test: ## Run behave tests
poetry run behave
build:
poetry build
install: clean ## install the package to the active Python's site-packages
poetry install