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 .