diff options
Diffstat (limited to 'debian/show_paths.bzl')
-rw-r--r-- | debian/show_paths.bzl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/show_paths.bzl b/debian/show_paths.bzl new file mode 100644 index 000000000..366b9d2e8 --- /dev/null +++ b/debian/show_paths.bzl @@ -0,0 +1,9 @@ +"""Formatter to extract the output files from pkg_deb.""" + +def format(target): + provider_map = providers(target) + return "\n".join([ + provider_map["OutputGroupInfo"].out.to_list()[0].path, + provider_map["OutputGroupInfo"].deb.to_list()[0].path, + provider_map["OutputGroupInfo"].changes.to_list()[0].path, + ]) |