mirror of
https://github.com/daylinmorgan/task.mk.git
synced 2024-10-07 17:28:41 -05:00
build: conda -> venv
This commit is contained in:
parent
a1285a03ef
commit
3e649ab027
2 changed files with 5 additions and 4 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,4 +1,5 @@
|
|||
.task.cfg.dev.mk
|
||||
.task.mk
|
||||
env/
|
||||
.venv
|
||||
|
||||
|
||||
|
|
6
Makefile
6
Makefile
|
@ -7,12 +7,12 @@ msg = $(if $(tprint),$(call tprint,{a.bold}==> {a.magenta}$(1){a.end}),@echo '==
|
|||
bootstrap: env hooks ## generate local dev environment |> -ms b_magenta -gs b_cyan
|
||||
env: ##
|
||||
$(call msg,Bootstrapping Environment)
|
||||
@mamba create -p ./env python jinja2 black -y
|
||||
@mamba run -p ./env pip install yartsu
|
||||
@python -m venv .venv
|
||||
@./.venv/bin/pip install jinja2 black yartsu
|
||||
hooks: ##
|
||||
@git config core.hooksPath .githooks
|
||||
docs-env: ##
|
||||
@mamba run -p ./env pip install mkdocs-material mkdocs-git-revision-date-localized-plugin
|
||||
@./.venv/bin/pip install -r ./requirements-docs.txt
|
||||
|
||||
l lint: ## lint the python
|
||||
$(call msg,Linting)
|
||||
|
|
Loading…
Reference in a new issue