mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 08:02:54 +11:00
Test integrity of requirements before release
This commit is contained in:
parent
09ed6aa845
commit
b1aad7706a
1 changed files with 4 additions and 0 deletions
4
Makefile
4
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
|
||||
|
|
Loading…
Reference in a new issue