chore: group justfile recipes for just --list #30

Merged
David merged 1 commit from chore/justfile-groups into main 2026-05-15 03:30:54 +02:00
Owner

Summary

Tag every justfile recipe with a [group('...')] attribute, matching the pattern in a8n-run/youtrack-cli/justfile. just --list now groups recipes under [hooks], [checks], [build], and [release] sections instead of one flat alphabetical list. No recipe behavior changes; the ASCII section header comments are kept since they're useful when reading the file source.

[build]
build               # Build debug binary targeting Windows (cross-compilation from Linux)
build-docker        # Build release binary using Docker BuildKit (same as CI)
build-release       # Build release binary targeting Windows

[checks]
check               # Run all checks (fmt, clippy, build, test) - mirrors .forgejo/workflows/check.yml
check-build         # Build all targets (host)
...

[hooks]
install-hooks       # Install the git pre-commit hook ...
pre-commit          # Run the same checks as .forgejo/workflows/check.yml ...

[release]
create-release bump # After the PR is merged, the release workflow creates the tag ...

The dev / run groups from youtrack-cli are intentionally omitted: this is a Windows-only desktop CLI with no compose.dev.yml and no host-run path.

Test plan

  • just --list renders four groups (hooks, checks, build, release) with the correct recipes under each.
## Summary Tag every justfile recipe with a `[group('...')]` attribute, matching the pattern in `a8n-run/youtrack-cli/justfile`. `just --list` now groups recipes under `[hooks]`, `[checks]`, `[build]`, and `[release]` sections instead of one flat alphabetical list. No recipe behavior changes; the ASCII section header comments are kept since they're useful when reading the file source. ``` [build] build # Build debug binary targeting Windows (cross-compilation from Linux) build-docker # Build release binary using Docker BuildKit (same as CI) build-release # Build release binary targeting Windows [checks] check # Run all checks (fmt, clippy, build, test) - mirrors .forgejo/workflows/check.yml check-build # Build all targets (host) ... [hooks] install-hooks # Install the git pre-commit hook ... pre-commit # Run the same checks as .forgejo/workflows/check.yml ... [release] create-release bump # After the PR is merged, the release workflow creates the tag ... ``` The `dev` / `run` groups from youtrack-cli are intentionally omitted: this is a Windows-only desktop CLI with no `compose.dev.yml` and no host-run path. ## Test plan - [x] `just --list` renders four groups (`hooks`, `checks`, `build`, `release`) with the correct recipes under each.
chore: tag justfile recipes with [group(...)] attributes
All checks were successful
Check / fmt + clippy + build + tests (pull_request) Successful in 9s
Create release / Create release from merged PR (pull_request) Has been skipped
7ebb1beb66
Adopts the youtrack-cli sibling pattern: every recipe carries a [group('...')] attribute so `just --list` renders them under named sections (hooks / checks / build / release) instead of one flat alphabetical list. No recipe behavior changes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
David merged commit 6a36e8b82b into main 2026-05-15 03:30:54 +02:00
David deleted branch chore/justfile-groups 2026-05-15 03:30:55 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pandoras-box/explorer-bookmarks!30
No description provided.