Replies: 2 comments
-
|
If you want to invoke a group of recipes, you can define a new recipe with those recipes as dependencies: lint:
test:
ci: test lintGroup names do not conflict with recipe names, which means that we couldn't allow invoking groups on the command line, since you could have a group named Although perhaps we could introduce a setting which made recipe/group name conflicts an error, and thus allow invoking groups on the command line. I'm not sure if I'd want the above though. Currently, groups are about documentation, not semantics, so, for example, you might have a recipe which is definitely involved in testing, but is very slow, so you couldn't add it to the |
Beta Was this translation helpful? Give feedback.
-
|
@casey my "group" means it can manage a few recipes with a scope, just like a namespace, and I want to use the same recipe under the different groups, this makes the command in bash |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to add a few commands related on a group like this:
This is good, but it cannot define another
editrecipe for another group, so are there any solutions to mark the group name as a top-level recipe name then I can run it like:just app edit&just app run?Maybe we could add an option like
[group('app', invoke_as_recipe=True)]to do that?Beta Was this translation helpful? Give feedback.
All reactions