add the config and compose modules

config: dotenv files are parsed, never sourced, so a value can hold a # or a
$(...) without breaking or executing. The make engine included .env with
make syntax, which neither allowed.
compose: one call per project instead of one per sub-stack.
This commit is contained in:
Yann Autissier
2026-09-03 18:29:36 +02:00
parent e7eab505e9
commit 990b99f0c0
4 changed files with 226 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
#shellcheck shell=sh
# Helper: myos_dotenv_load sets variables in the caller's scope.
[ -n "${2:-}" ] && LOADED=$2
myos_dotenv_load "$1"
printf '%s\n' "$LOADED"