-
-
Notifications
You must be signed in to change notification settings - Fork 414
Open
Description
Currently, the task query syntax (https://mill-build.org/mill/cli/query-syntax.html) is based on types. Since modules in Mill are Scala object
s, each module has it's own type, so it is already possible to exclude modules from queries, e.g. to run all compile
task except of module foo
, you can exclude it by name
:
> mill resolve __.compile
foo.compile
bar[one].compile
bar[two].compile
bar[three].compile
baz.compile
> mill resolve __:^foo.compile
bar[one].compile
bar[two].compile
baz.compile
It would be nice, to be able to also select/exclude specific cross module like this:
> mill resolve bar[_].compile
bar[one].compile
bar[two].compile
bar[three].compile
> mill resolve bar[_:^two].compile
bar[one].compile
bar[three].compile
Metadata
Metadata
Assignees
Labels
No labels