Dynamic recipes #2647
infused-kim
started this conversation in
Ideas
Dynamic recipes
#2647
Replies: 1 comment 1 reply
-
Interesting request, and glad you like I can definitely see the use case. I wonder how this could be supported in a generic way. Maybe an setting which is a command, where |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
First of all, thank you for creating such an amazing piece of software!
I just started using just and was amazed by how it is already supporting everything I want (and hated about using make as a task-runner).
However, I came across one use-case that doesn't seem to be possible yet.
I would like to be able to define dynamic tasks using a script or file list. For example, I am using
just
in my ansible IT automation repo. Currently, I have to maintain one recipe for each playbook that I want to be able to run throughjust
like this:It would be awesome if I could create a script that lists all files in
./playbooks
and generates the recipes.This would also be useful in nodejs projects that already have scripts inside the
package.json
. Just could parse the file and automatically add all the node scripts as targets so that everything can be run through just.Beta Was this translation helpful? Give feedback.
All reactions