Release helper

This commit is contained in:
Martin Mahner 2019-12-08 10:29:33 +01:00
parent 652d20a28f
commit 21094ae061

View file

@ -50,6 +50,13 @@ docs: ## Compile the documentation
docs-watch: ## Compile the documentation and watch for changes docs-watch: ## Compile the documentation and watch for changes
sphinx-autobuild docs docs/_build/html sphinx-autobuild docs docs/_build/html
.PHONY: release-docker
release-docker:
set -ex
docker-compose run --rm app pytest dpaste/
docker build --build-arg BUILD_EXTRAS=production -t barttc/dpaste:latest .
@echo -e "\n\n💫 All fine. Now do: docker push barttc/dpaste:latest"
.PHONY: help .PHONY: help
help: help:
@echo -e "Available make commands:" @echo -e "Available make commands:"