<#20572 Create migration tool for call-by-name syn...
# github-notifications
c
#20572 Create migration tool for call-by-name syntax Issue created by stuhood To complete #19730 by migrating Pants itself and any in-repo plugins to call-by-name syntax, we should create a built-in goal which would: 1. Take as argument a list of modules / files to migrate 2. Load the rule graph 3. For each
@rule
in the module, look up its solution in the rule graph.
4. Replace each
Get
in a
@rule
, with its corresponding call-by-name syntax (using whatever code-rewriting API is best maintained currently) EDIT: #20574 implemented items 2 and 3. pantsbuild/pants