fix(just): set JUSTFILE to global justfile
This commit is contained in:
parent
ddf31b7f94
commit
1cabb64b8a
1 changed files with 3 additions and 0 deletions
|
|
@ -58,4 +58,7 @@ in
|
||||||
{
|
{
|
||||||
# Global Just recipes (system-wide). Used when `XDG_CONFIG_DIRS` includes `/etc/xdg` (default).
|
# Global Just recipes (system-wide). Used when `XDG_CONFIG_DIRS` includes `/etc/xdg` (default).
|
||||||
environment.etc."xdg/just/justfile".text = justfileText;
|
environment.etc."xdg/just/justfile".text = justfileText;
|
||||||
|
|
||||||
|
# Make `just` pick up the global justfile by default (otherwise it only searches CWD/parents).
|
||||||
|
environment.sessionVariables.JUSTFILE = "/etc/xdg/just/justfile";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue