able-finland-42099
06/06/2017, 8:31 PMalias()
target to group together more than one target? The documentation describes the alias as
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?