2
0
Fork 0
mirror of https://github.com/bazel-contrib/bazel-lib synced 2024-11-27 17:43:27 +00:00
bazel-lib/tools/expand_template/BUILD.bazel
Alex Eagle 6a4381bf07
chore: run gazelle (#584)
Also delete the local_config_platform workaround for bazel 5 which made our docs setup complex
2023-10-05 14:22:38 -07:00

16 lines
421 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
go_library(
name = "expand_template_lib",
srcs = ["main.go"],
importpath = "github.com/aspect-build/bazel-lib/tools/expand_template",
visibility = ["//visibility:public"],
deps = ["@org_golang_x_exp//maps"],
)
go_binary(
name = "expand_template",
embed = [":expand_template_lib"],
visibility = ["//visibility:public"],
)