chore: prepend asdf paths
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon 2026-06-04 09:06:03 +02:00
parent 1b671ea41a
commit f9495f557a
Signed by: simon
GPG key ID: 40E7A58C4AA1EDB2
2 changed files with 7 additions and 5 deletions

View file

@ -1,11 +1,11 @@
set dotenv-load := true
set export := true
# Non-interactive shells do not source .bashrc,
# PATH includes asdf shims so that mix / elixir / iex resolve without per-shell
# `source ~/.asdf/asdf.sh`. Recipes inherit this via `set export := true`.
home := env_var('HOME')
PATH := home + "/.asdf/shims:" + home + "/.asdf:" + home + "/.local/bin:/usr/local/bin:/usr/bin:/bin"
# Prepend asdf paths so recipes work without sourcing ~/.asdf/asdf.sh in the shell.
# Caller PATH is preserved (Homebrew asdf, docker CLI, etc.). See CODE_GUIDELINES §3.13.
home := env_var("HOME")
asdf_paths := home + "/.asdf/shims:" + home + "/.asdf/bin:" + home + "/.asdf:"
PATH := asdf_paths + env_var("PATH")
MIX_QUIET := "1"