mirror of
https://github.com/bazel-contrib/bazel-lib
synced 2024-11-27 17:43:27 +00:00
6a4381bf07
Also delete the local_config_platform workaround for bazel 5 which made our docs setup complex
16 lines
421 B
Python
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"],
|
|
)
|