mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-12-22 10:40:44 -06:00
build: update task.mk
This commit is contained in:
parent
a2de954260
commit
ce1f414cb1
2 changed files with 4 additions and 2 deletions
|
@ -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))
|
||||
|
|
4
Makefile
4
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
|
||||
|
|
Loading…
Reference in a new issue