aloof-angle-91616
05/01/2020, 1:18 AMhundreds-father-404
05/01/2020, 1:27 AMtarget_types
register.py
entry point question?aloof-angle-91616
05/01/2020, 1:27 AM@classmethod
def alias_groups(cls):
return BuildFileAliases(
objects={
"pants": lambda x: x,
"artifact": Artifact,
"scala_artifact": ScalaArtifact,
"public": Repository(
name="public", url="<http://maven.example.com>", push_db_basedir="/tmp"
),
},
)
hundreds-father-404
05/01/2020, 1:33 AMobjects
. We punted on that because Daniel’s prelude macros feature was in flight.aloof-angle-91616
05/01/2020, 1:35 AMaloof-angle-91616
05/01/2020, 1:37 AMhundreds-father-404
05/01/2020, 1:38 AMbuild_file_aliases
around until then. So, we punted on what the future of objects
is since build_file_aliases
will be around a bit longer
See https://github.com/pantsbuild/pants/pull/9618