Skip to content

Commit

Permalink
chore: prepare minijinja config file
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <[email protected]>
  • Loading branch information
onedr0p committed Oct 24, 2024
1 parent ec7c520 commit c434ab6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ PATH_add "$(expand_path "${GOPATH}/bin")"
# Python
export VIRTUAL_ENV="$(expand_path ./.venv)"
PATH_add "$(expand_path "${VIRTUAL_ENV}/bin")"
# Minijinja
export MINIJINJA_CONFIG_FILE="$(expand_path ./.minijinja.toml)"
# Taskfile
export TASK_X_ENV_PRECEDENCE=1
export TASK_X_MAP_VARIABLES=0
5 changes: 5 additions & 0 deletions .minijinja.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
autoescape = "none"
newline = true
trim-blocks = true
lstrip-blocks = true
env = true
5 changes: 4 additions & 1 deletion Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ vars:
env:
GOPATH: '{{.ROOT_DIR}}/.go'
KUBECONFIG: '{{.CLUSTER_DIR}}/kubeconfig'
MINIJINJA_CONFIG_FILE: '{{.ROOT_DIR}}/.minijinja.toml'
SOPS_AGE_KEY_FILE: '{{.ROOT_DIR}}/age.key'
TALOSCONFIG: '{{.CLUSTER_DIR}}/talosconfig'
VIRTUAL_ENV: '{{.ROOT_DIR}}/.venv'
Expand All @@ -25,4 +26,6 @@ includes:

tasks:

default: task --list
default:
cmd: task --list
silent: true

0 comments on commit c434ab6

Please sign in to comment.