Open dhruvkb opened 1 year ago
I just realised that the opposite is also true, justfile
s cannot identify dependencies in a child justfile.
a
├── b
│ └── justfile
│ ├── rec_b → rec_a
│ └── rec_c
└── justfile
├── rec_a
└── rec_d → rec_c
In such a setup rec_d
cannot refer to and depend on rec_c
defined in the inner justfile
.
rec_d: b/rec_c
# error: Expected '&&', comment, end of file, end of line, identifier, or '(', but found '/'
My project has the following directory structure:
The inner
justfile
contains a recipe,rec_b
, that depends on a recipe in the outerjustfile
,rec_a
.To show this dependency, I tried the following but none of them work:
From the shell I can access recipes in the parent justfile with
..
so is this not supported inside thejustfile
syntax?