k3s/test/e2e/generated/BUILD

55 lines
1.1 KiB
Python
Raw Normal View History

2016-10-19 21:42:06 +00:00
package(default_visibility = ["//visibility:public"])
licenses(["notice"])
load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
)
go_library(
name = "go_default_library",
2016-10-27 15:58:43 +00:00
srcs = [
"gobindata_util.go",
2016-10-27 15:58:43 +00:00
"main.go",
":bindata",
],
deps = [
2017-02-01 00:41:54 +00:00
"//vendor/github.com/golang/glog:go_default_library",
],
)
genrule(
name = "bindata",
srcs = [
"//examples:sources",
"//test/images:sources",
"//test/fixtures:sources",
"//test/e2e/testing-manifests:sources",
],
outs = ["bindata.go"],
cmd = """
2017-02-01 00:41:54 +00:00
$(location //vendor/github.com/jteeuwen/go-bindata/go-bindata:go-bindata) \
-nometadata -o "$(OUTS)" -pkg generated \
-prefix $$(pwd) \
-ignore .jpg -ignore .png -ignore .md \
$(SRCS)
""",
tools = [
2017-02-01 00:41:54 +00:00
"//vendor/github.com/jteeuwen/go-bindata/go-bindata",
2016-10-27 15:58:43 +00:00
],
2016-10-19 21:42:06 +00:00
)
2017-01-03 22:40:41 +00:00
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
)