mirror of
https://github.com/google/go-jsonnet.git
synced 2025-08-19 05:21:15 +02:00
This is mostly so that I can add it as the test module to be used in the bazel registry presubmit
19 lines
500 B
Python
19 lines
500 B
Python
load("@gazelle//:def.bzl", "gazelle")
|
|
load("@rules_go//go:def.bzl", "go_binary", "go_library")
|
|
|
|
gazelle(name = "gazelle")
|
|
|
|
go_library(
|
|
name = "use_go_jsonnet_lib",
|
|
srcs = ["use_go_jsonnet.go"],
|
|
importpath = "github.com/google/go-jsonnet/examples/bazel",
|
|
visibility = ["//visibility:private"],
|
|
deps = ["@com_github_google_go_jsonnet//:go_default_library"],
|
|
)
|
|
|
|
go_binary(
|
|
name = "use_go_jsonnet",
|
|
embed = [":use_go_jsonnet_lib"],
|
|
visibility = ["//visibility:public"],
|
|
)
|