diff --git a/src/taskfile-include-kind.yaml b/src/taskfile-include-kind.yaml index 9e21cfc..5400a5d 100644 --- a/src/taskfile-include-kind.yaml +++ b/src/taskfile-include-kind.yaml @@ -2,13 +2,16 @@ version: '3' +vars: + KIND_CREATE_EXTRA_ARGS: "" + tasks: start: desc: kind create cluster dir: '{{.USER_WORKING_DIR}}' cmds: - | - kind create cluster + kind create {{.KIND_CREATE_EXTRA_ARGS}} cluster destroy: desc: kind delete cluster diff --git a/src/taskfile-include-mkdocs.yaml b/src/taskfile-include-mkdocs.yaml index 4f3df93..7c65afc 100644 --- a/src/taskfile-include-mkdocs.yaml +++ b/src/taskfile-include-mkdocs.yaml @@ -4,7 +4,7 @@ version: '3' vars: PYTHON_VENVS_BASEDIR: ~/.venvs/ - PYTHON_VENV_DIR: "{{.PYTHON_VENVS_BASEDIR}}/docs" + PYTHON_VENV_DIR_DOCS: "{{.PYTHON_VENVS_BASEDIR}}/docs" tasks: start: @@ -13,6 +13,6 @@ tasks: cmds: - | bash -c " - source {{.PYTHON_VENV_DIR}}/bin/activate && \ + source {{.PYTHON_VENV_DIR_DOCS}}/bin/activate && \ mkdocs serve -a localhost:8001 " diff --git a/src/taskfile-include-pre-commit.yaml b/src/taskfile-include-pre-commit.yaml index 06573d1..c0bf928 100644 --- a/src/taskfile-include-pre-commit.yaml +++ b/src/taskfile-include-pre-commit.yaml @@ -4,7 +4,7 @@ version: '3' vars: PYTHON_VENVS_BASEDIR: ~/.venvs/ - PYTHON_VENV_DIR: "{{.PYTHON_VENVS_BASEDIR}}/development" + PYTHON_VENV_DIR_DEVELOPMENT: "{{.PYTHON_VENVS_BASEDIR}}/development" tasks: install: @@ -13,7 +13,7 @@ tasks: cmds: - | bash -c " - source {{.PYTHON_VENV_DIR}}/bin/activate && \ + source {{.PYTHON_VENV_DIR_DEVELOPMENT}}/bin/activate && \ pre-commit install " start: @@ -22,6 +22,6 @@ tasks: cmds: - | bash -c " - source {{.PYTHON_VENV_DIR}}/bin/activate && \ + source {{.PYTHON_VENV_DIR_DEVELOPMENT}}/bin/activate && \ pre-commit run --all-files "