chore(justfile): set PATH literally so recipes work without per-shell asdf sourcing

This commit is contained in:
Moritz 2026-05-19 19:19:10 +02:00
parent fa9cd0a35b
commit 1e639f7e77
2 changed files with 11 additions and 0 deletions

3
.gitignore vendored
View file

@ -45,3 +45,6 @@ npm-debug.log
# Docker secrets directory (generated by `just init-secrets`) # Docker secrets directory (generated by `just init-secrets`)
/secrets/ /secrets/
notes.md notes.md
# Do NOT commit these — they are local to the dev machine
.pipeline/

View file

@ -1,6 +1,10 @@
set dotenv-load := true set dotenv-load := true
set export := true set export := true
# PATH includes asdf shims so that mix / elixir / iex resolve without per-shell
# `source ~/.asdf/asdf.sh`. Recipes inherit this via `set export := true`.
PATH := "/root/.asdf/shims:/root/.asdf:/root/.local/bin:/usr/local/bin:/usr/bin:/bin"
MIX_QUIET := "1" MIX_QUIET := "1"
run: install-dependencies start-database migrate-database seed-database run: install-dependencies start-database migrate-database seed-database
@ -69,6 +73,10 @@ test-all *args: install-dependencies
format: format:
mix format mix format
# Catch-all wrapper for arbitrary mix commands not exposed as their own recipe.
mix *args:
mix {{args}}
build-docker-container: build-docker-container:
docker build --tag mitgliederverwaltung . docker build --tag mitgliederverwaltung .