able-school-92027
01/10/2024, 7:30 PMbroad-processor-92400
01/10/2024, 10:30 PMdef build_file_aliases() -> BuildFileAliases:
function in register.py
, e.g.:
def build_file_aliases() -> BuildFileAliases:
return BuildFileAliases(
objects={
"foo": some_function,
}
)
It's a bit different to a macro, though, I think, as it has to work with the internal API for targets etc., rather than calling the external BUILD file ones.
(NB. I could easily be wrong, it may be worth repeating the question in the lower-volume #C01CQHVDMMW channel, so people with the right knowledge are more likely to see it.)curved-television-6568
01/11/2024, 8:37 AMable-school-92027
01/11/2024, 12:20 PMable-school-92027
01/11/2024, 12:27 PMcurved-television-6568
01/11/2024, 1:33 PMhappy-kitchen-89482
01/11/2024, 8:38 PMable-school-92027
01/11/2024, 9:06 PMhappy-kitchen-89482
01/11/2024, 10:56 PMhappy-kitchen-89482
01/11/2024, 11:01 PMable-school-92027
01/12/2024, 1:09 PM