Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It should be possible to have groups appear in justfile order #2157

Closed
FelixZY opened this issue Jun 14, 2024 · 4 comments · Fixed by #2160
Closed

It should be possible to have groups appear in justfile order #2157

FelixZY opened this issue Jun 14, 2024 · 4 comments · Fixed by #2160

Comments

@FelixZY
Copy link

FelixZY commented Jun 14, 2024

just supports outputting individual commands in the order they are defined in the justfile:

just --list --unsorted prints recipes in their justfile order within each group:

https://github.com/casey/just?tab=readme-ov-file#recipe-groups

However, the --unsorted flag does not appear to apply to the groups themselves, neither can I see an option to have the groups printed in justfile order.

@casey
Copy link
Owner

casey commented Jun 14, 2024

Seems reasonable to me! Implemented in #2160.

@FelixZY
Copy link
Author

FelixZY commented Jun 14, 2024

Awesome! @casey you really have some good turnaround time on issues - thank you very much!

Question after looking at the new tests: how does #2160 interact with just --list --unsorted? I'd really like the groups to be unsorted in this instance as well.

@casey
Copy link
Owner

casey commented Jun 15, 2024

Gotcha, that makes sense! Implemented in #2164.

@casey
Copy link
Owner

casey commented Jun 15, 2024

Awesome! @casey you really have some good turnaround time on issues - thank you very much!

You're most welcome! That's what you get when I'm sitting around bored at home ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants