load("@rules_pkg//:pkg.bzl", "pkg_tar") | |
pkg_tar( | |
name = "schemas", | |
srcs = glob([ | |
"schema/postgresql/v96/**/*.sql", | |
"schema/postgresql/v96/**/*.json", | |
]), | |
mode = "0755", | |
strip_prefix = ".", # Preserve the folder structure. | |
visibility = ["//visibility:public"], | |
) |