1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
licenses(["notice"]) # Apache 2.0
package(default_visibility = ["//visibility:public"])
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "shtemplate",
srcs = ["shtemplate.go"],
importpath = "github.com/google/safetext/shtemplate",
visibility = ["//visibility:public"],
deps = [
"//common",
"@com_github_pborman_uuid//:uuid",
"@cc_mvdan_sh_v3//syntax",
],
)
alias(
name = "go_default_library",
actual = ":shtemplate",
visibility = ["//visibility:public"],
)
go_test(
name = "shtemplate_test",
srcs = ["shtemplate_test.go"],
deps = [":shtemplate"],
)
|