You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then the output of just --unstable --list --unsorted on latest master is:
Available recipes:
alpha
default
beta
instead of the default - alpha - beta order I'd expect.
#1739 has a solution for this (albeit not a working test), but it also computes the default recipe in a way different than what #1740 decided on, so I'm not sure how much of the code from 1739 is useful.
The text was updated successfully, but these errors were encountered:
Maybe the compiler returns a Vec<PathBuf> with the paths of all the source files, in the order in which they were loaded, and then recipes are sorted first by the order in which they appear in that list, and then by order of offset?
The code in https://github.com/casey/just/blob/master/src/justfile.rs#L367-L370 that determines what order recipes will be listed in when not sorted alphabetically depends on the offset of a recipe from the beginning of its file.
E.g. if you have the justfiles:
justfile
:include.justfile
:Then the output of
just --unstable --list --unsorted
on latest master is:instead of the
default - alpha - beta
order I'd expect.#1739 has a solution for this (albeit not a working test), but it also computes the default recipe in a way different than what #1740 decided on, so I'm not sure how much of the code from 1739 is useful.
The text was updated successfully, but these errors were encountered: