[env]
IF_UNDEFINED = { value = "defined_in_makefile", condition = { env_not_set = [
"IF_UNDEFINED",
] } }
COMPOSITE_OF_MAPPED = "VALUE: ${IF_UNDEFINED}"
[plugins.aliases]
old = "new"
new = "newer"
[plugins.impl.base1]
script = "base1 test"
[plugins.impl.base2]
script = "base2 test"
[tasks.if-undefined-print]
script = '''
echo IF_UNDEFINED: ${IF_UNDEFINED}
echo COMPOSITE_OF_MAPPED: ${COMPOSITE_OF_MAPPED}
'''
[tasks.if-undefined-fork]
env = { IF_UNDEFINED = "defined_from_fork" }
run_task = { name = "if-undefined-fork", fork = true }
[tasks.if-undefined-cli]
command = "cargo"
args = [
"make",
"--makefile",
"env.toml",
"--env",
"IF_UNDEFINED=defined_from_cli",
"if-undefined-print",
]