chore(justfile): set PATH literally so recipes work without per-shell asdf sourcing
This commit is contained in:
parent
fa9cd0a35b
commit
1e639f7e77
2 changed files with 11 additions and 0 deletions
8
Justfile
8
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 .
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue