load("@rules_pkg//:mappings.bzl", "pkg_files", "strip_prefix") pkg_files( name = "downgrades", srcs = glob( ["**"], exclude = ["BUILD.bazel"], ), prefix = "downgrades", strip_prefix = strip_prefix.from_pkg(), visibility = ["//csharp:__pkg__"], )