mirror of
https://github.com/extism/extism.git
synced 2026-01-12 15:28:05 -05:00
27 lines
390 B
Makefile
27 lines
390 B
Makefile
.PHONY: test
|
|
|
|
prepare:
|
|
poetry install
|
|
|
|
test: prepare
|
|
poetry run python -m unittest discover
|
|
|
|
clean:
|
|
rm -rf dist/*
|
|
|
|
publish: clean prepare
|
|
poetry build
|
|
poetry run twine upload dist/extism-*.tar.gz
|
|
|
|
format:
|
|
poetry run black extism/ tests/ example.py
|
|
|
|
lint:
|
|
poetry run black --check extism/ tests/ example.py
|
|
|
|
docs:
|
|
poetry run pycco extism/*.py
|
|
|
|
show-docs: docs
|
|
open docs/extism.html
|