diff --git a/.task.cfg.mk b/.task.cfg.mk index 10b83e0..46eb4de 100644 --- a/.task.cfg.mk +++ b/.task.cfg.mk @@ -3,4 +3,4 @@ PHONIFY=1 HELP_SEP={a.b_blue}>>>{a.end} -include .task.mk -$(if $(filter help,$(MAKECMDGOALS)),$(if $(wildcard .task.mk),,.task.mk: ; curl -fsSL https://raw.githubusercontent.com/daylinmorgan/task.mk/v23.1.1/task.mk -o .task.mk)) +$(if $(filter help,$(MAKECMDGOALS)),$(if $(wildcard .task.mk),,.task.mk: ; curl -fsSL https://raw.githubusercontent.com/daylinmorgan/task.mk/v23.1.2/task.mk -o .task.mk)) diff --git a/Makefile b/Makefile index af86c7e..29d57ea 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,9 @@ VERSION ?= $(shell git describe --tags --always --dirty=-dev | sed 's/^v//g') PREFIX ?= ~/bin + lint: ## run pre-commit hooks pdm run pre-commit run --all || pdm run pre-commit run --all + types: ## run mypy mypy src/viv @@ -11,7 +13,7 @@ bump-version: ## update version and tag commit @git add src/viv/viv.py && git commit -m "chore: bump version" @git tag v$(VERSION) -env: ## generate environment +venv: ## generate environment pdm install install: ## symlink to $PREFIX