From 3d26d49d4f63d1e7f18e8d5ef1a9a84e3a405ba8 Mon Sep 17 00:00:00 2001 From: Manuel Barkhau Date: Sat, 16 Feb 2019 17:20:34 +0100 Subject: [PATCH] better naming for make targets --- makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/makefile b/makefile index 0bdaac5..f45f9cb 100644 --- a/makefile +++ b/makefile @@ -487,16 +487,16 @@ bump_version: ## Create python sdist and bdist_wheel files -.PHONY: build_dists -build_dists: +.PHONY: dist_build +dist_build: $(DEV_ENV_PY) setup.py sdist; $(DEV_ENV_PY) setup.py bdist_wheel --python-tag=$(BDIST_WHEEL_PYTHON_TAG); @rm -rf src/*.egg-info ## Upload sdist and bdist files to pypi -.PHONY: upload_dists -upload_dists: +.PHONY: dist_upload +dist_upload: @if [[ "1" != "1" ]]; then \ echo "FAILSAFE! Not publishing a private package."; \ echo " To avoid this set IS_PUBLIC=1 in bootstrap.sh and run it."; \ @@ -508,9 +508,9 @@ upload_dists: $(DEV_ENV)/bin/twine upload $$($(SDIST_FILE_CMD)) $$($(BDIST_WHEEL_FILE_CMD)); -## bump_version build_dists upload_dists -.PHONY: publish -publish: bump_version build_dists upload_dists +## bump_version dist_build dist_upload +.PHONY: dist_publish +dist_publish: bump_version dist_build dist_upload ## Build docker images. Must be run when dependencies are added