mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 08:02:54 +11:00
Release helper
This commit is contained in:
parent
652d20a28f
commit
21094ae061
1 changed files with 7 additions and 0 deletions
7
Makefile
7
Makefile
|
@ -50,6 +50,13 @@ docs: ## Compile the documentation
|
|||
docs-watch: ## Compile the documentation and watch for changes
|
||||
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
|
||||
help:
|
||||
@echo -e "Available make commands:"
|
||||
|
|
Loading…
Reference in a new issue