Skip to content
Snippets Groups Projects
Commit e0401df8 authored by jan.bednarik's avatar jan.bednarik
Browse files

Make commands for building and releasing

parent 8455d375
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,10 @@ help:
@echo "Testing:"
@echo " test Run tests"
@echo ""
@echo "Packaging:"
@echo " build Build Python package"
@echo " relase Publish Python package on PyPI"
@echo ""
venv: .venv/bin/python
.venv/bin/python:
......@@ -40,6 +44,12 @@ migrate: venv
test:
tox
.PHONY: help venv install install-hooks hooks migrations migrate test
build: venv
${VENV}/bin/python setup.py sdist bdist_wheel
release: venv
${VENV}/bin/twine upload dist/*
.PHONY: help venv install install-hooks hooks migrations migrate test build release
# EOF
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment