Open woutervh opened 3 weeks ago
just has a set of functions you can use in recipes:
see https://just.systems/man/en/chapter_31.html
but what if path itself is a variable?
For example
BIN_DIR := env_var_or_default("BIN_DIR", "${HOME/bin") BIN_ABS_DIR := absolute_path({{BIN_DIR }}) # breaks syntax
It seems you can currently not pass such variable to a function.
Does this do what you're looking for? -
BIN_DIR := env_var_or_default("BIN_DIR", env_var("HOME") / "bin") BIN_ABS_DIR := absolute_path(BIN_DIR)
just has a set of functions you can use in recipes:
see https://just.systems/man/en/chapter_31.html
but what if path itself is a variable?
For example
It seems you can currently not pass such variable to a function.