announce-server/Makefile

16 lines
382 B
Makefile
Raw Normal View History

2023-03-20 00:00:32 +00:00
build: clean
python -m build --sdist --wheel
clean:
rm -rf dist/ build/ .eggs/ .pytest_cache/ src/announce_server.egg-info/
pub: build
twine upload dist/*
install:
pip install -e .[dev,pub]
2023-03-20 02:03:22 +00:00
test-api:
2023-03-20 02:05:53 +00:00
docker run --rm -ti -p 4999:4999 python:3.7-slim bash -c "pip install -U announce_server~=0.0.2rc0; announce_server start_registry"
2023-03-20 02:03:22 +00:00
.PHONY: build clean pub install test-api