19 lines
462 B
Python
19 lines
462 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 = [
|
|
"//tools/common",
|
|
"@org_golang_x_exp//maps",
|
|
],
|
|
)
|
|
|
|
go_binary(
|
|
name = "expand_template",
|
|
embed = [":expand_template_lib"],
|
|
visibility = ["//visibility:public"],
|
|
)
|