52baf68d50
Signed-off-by: Michał Żyłowski <michal.zylowski@intel.com>
38 lines
693 B
Text
38 lines
693 B
Text
package(default_visibility = ["//visibility:public"])
|
|
|
|
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
|
|
|
|
filegroup(
|
|
name = "addon-srcs",
|
|
srcs = glob(
|
|
[
|
|
"**/*.json",
|
|
"**/*.yaml",
|
|
"**/*.yaml.in",
|
|
],
|
|
exclude = ["**/*demo*/**"],
|
|
),
|
|
)
|
|
|
|
pkg_tar(
|
|
name = "addons",
|
|
extension = "tar.gz",
|
|
files = [
|
|
":addon-srcs",
|
|
],
|
|
mode = "0644",
|
|
strip_prefix = ".",
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [":package-srcs"],
|
|
tags = ["automanaged"],
|
|
)
|