From 1e639f7e77648afac00ab31b29fd64a1eee9a45d Mon Sep 17 00:00:00 2001 From: Moritz Date: Tue, 19 May 2026 19:19:10 +0200 Subject: [PATCH] chore(justfile): set PATH literally so recipes work without per-shell asdf sourcing --- .gitignore | 3 +++ Justfile | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/.gitignore b/.gitignore index 058543c..e177b4d 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,6 @@ npm-debug.log # Docker secrets directory (generated by `just init-secrets`) /secrets/ notes.md + +# Do NOT commit these — they are local to the dev machine +.pipeline/ diff --git a/Justfile b/Justfile index d2c51e5..db53903 100644 --- a/Justfile +++ b/Justfile @@ -1,6 +1,10 @@ set dotenv-load := 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" run: install-dependencies start-database migrate-database seed-database @@ -69,6 +73,10 @@ test-all *args: install-dependencies format: mix format +# Catch-all wrapper for arbitrary mix commands not exposed as their own recipe. +mix *args: + mix {{args}} + build-docker-container: docker build --tag mitgliederverwaltung .