peridot/build/bazel/semver/BUILD

25 lines
548 B
Python
Raw Normal View History

2022-07-07 20:11:50 +00:00
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
2024-10-16 11:26:54 +00:00
load("@rules_proto//proto:defs.bzl", "proto_library")
2022-07-07 20:11:50 +00:00
package(default_visibility = ["//visibility:public"])
licenses(["notice"])
proto_library(
name = "semver_proto",
srcs = ["semver.proto"],
)
go_proto_library(
name = "semver_go_proto",
importpath = "bazel.build/semver",
proto = ":semver_proto",
)
go_library(
name = "semver",
embed = [":semver_go_proto"],
importpath = "bazel.build/semver",
)