From b1aad7706afc5b03e35d02157c1f670ab540684e Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Wed, 18 Dec 2019 17:46:31 +0100 Subject: [PATCH] Test integrity of requirements before release --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 3d9b103..40904b5 100644 --- a/Makefile +++ b/Makefile @@ -44,6 +44,8 @@ js: ## Compile JS files .PHONY: release-docker release-docker: set -ex + pip-compile --dry-run setup.py + docker-compose build 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" @@ -51,6 +53,8 @@ release-docker: .PHONY: release-pypi release-pypi: set -ex + pip-compile --dry-run setup.py + docker-compose build docker-compose run --rm app pytest dpaste/ rm -rf ./node_modules npm ci