mirror of
https://github.com/daylinmorgan/task.mk.git
synced 2024-12-22 01:50:44 -06: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.cfg.dev.mk
|
||||||
.task.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
|
bootstrap: env hooks ## generate local dev environment |> -ms b_magenta -gs b_cyan
|
||||||
env: ##
|
env: ##
|
||||||
$(call msg,Bootstrapping Environment)
|
$(call msg,Bootstrapping Environment)
|
||||||
@mamba create -p ./env python jinja2 black -y
|
@python -m venv .venv
|
||||||
@mamba run -p ./env pip install yartsu
|
@./.venv/bin/pip install jinja2 black yartsu
|
||||||
hooks: ##
|
hooks: ##
|
||||||
@git config core.hooksPath .githooks
|
@git config core.hooksPath .githooks
|
||||||
docs-env: ##
|
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
|
l lint: ## lint the python
|
||||||
$(call msg,Linting)
|
$(call msg,Linting)
|
||||||
|
|
Loading…
Reference in a new issue