From 5a041b954969afbdd0833e44aae73d6fbd176d00 Mon Sep 17 00:00:00 2001 From: Anton Kasimov Date: Thu, 21 Dec 2023 02:58:26 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=BF=D1=82=D0=B8=D0=BC=D0=B8=D0=B7?= =?UTF-8?q?=D0=B0=D1=86=D0=B8=D1=8F=20Makefile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{{ cookiecutter.project_slug }}/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cookiecutter-python/{{ cookiecutter.project_slug }}/Makefile b/cookiecutter-python/{{ cookiecutter.project_slug }}/Makefile index 455213a..6450cc2 100644 --- a/cookiecutter-python/{{ cookiecutter.project_slug }}/Makefile +++ b/cookiecutter-python/{{ cookiecutter.project_slug }}/Makefile @@ -1,7 +1,7 @@ WATCH_COMMAND=poetry run uvicorn --reload --host=::1 {{cookiecutter.pkg_name}}.application:app SERVER_COMMAND=poetry run uvicorn --host=::1 {{cookiecutter.pkg_name}}.application:app -VERSION != poetry version | tr ' ' - +.PHONY: tags test watch: ${WATCH_COMMAND} @@ -25,4 +25,7 @@ build: poetry build -f wheel wheels: build - poetry run pip wheel -w dist dist/${VERSION}-*.whl + sh -c "poetry run pip wheel -w dist dist/`poetry version 2>/dev/null | tr ' ' -`-*.whl" + +tags: + uctags -R