-
Notifications
You must be signed in to change notification settings - Fork 575
Description
Hi,
I'm using the fantastic dump command (just --dump --dump-format json
) to build a CI pipeline dynamically, based on what's in the justfile
and it works great but for some tasks I need more static metadata (e.g. recipe may need a different CI image etc).
I've (ab)used [group]
attribute with a custom format of the group name, that is then parsed by the pipeline generator but it would be good to have either a way to use custom attributes or at least a [meta('x', 'y')]
attribute that I can parse with my tooling.
In case it helps the justfile is at: https://gitlab.archlinux.org/archlinux/wkd-exporter/-/blob/main/.justfile and the example recipe looks like this:
# Build docs
[group('ci')]
[group('pacman:rust')]
doc:
RUSTDOCFLAGS='-D warnings' cargo doc --no-deps
I've considered abusing recipe doc comment but that'd also be a workaround. If there are any better ideas I'm all ears.
Thanks for your time!