Howdy, has anyone here used the `alias()` target t...
# general
a
Howdy, has anyone here used the
alias()
target to group together more than one target? The documentation describes the alias as
Copy code
alias: A target that gets replaced by its dependencies.
    dependencies = ...,	(default: [])
    description = ...,	(default: None)
    name = ...,	
    no_cache = ...,	(default: False)
    tags = ...,	(default: None)
My reading of this is that I provide a list of targets in
dependencies
so that I can run a goal against the alias and have it run on all the dependencies. However, this doesn't seem to be the case. When I run a goal pants complains that I must specify a
target
parameter. Looking at the code, I see that the AliasTarget class takes the
target
param and sets it as the only dependency. Am I not understanding the alias use case?