fix(templates): use the correct variable in taskfiles

This commit is contained in:
Michele Cereda
2026-02-10 01:50:31 +01:00
parent 63653cca7c
commit ef181ac7d3

View File

@@ -8,7 +8,7 @@ set:
vars:
# REPOSITORY_ROOT:
# sh: git rev-parse --show-toplevel
VENV_DIR: '{{ .ROOT_TASKFILE }}/.venv'
VENV_DIR: '{{ .ROOT_DIR }}/.venv'
dotenv:
- .env
@@ -36,7 +36,7 @@ tasks:
python:venv:create:
vars:
PYTHON_VERSION: '{{ .PYTHON_VERSION | default 3.12}}'
REQUIREMENTS_FILE: '{{ .ROOT_TASKFILE }}/requirements.txt'
REQUIREMENTS_FILE: '{{ .ROOT_DIR }}/requirements.txt'
cmds:
- python{{ .PYTHON_VERSION }} -m 'venv' '{{ .VENV_DIR }}'
- >-