prysm-pulse/tools/target_migration.bzl
2021-07-01 14:48:09 +00:00

9 lines
243 B
Python

def moved_targets(targets, new_package):
for target in targets:
native.alias(
name=target[1:],
actual=new_package+target,
deprecation="This target has moved to %s%s"%(new_package,target),
tags = ["manual"],
)