mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-23 13:41:26 +00:00
26 lines
549 B
Python
26 lines
549 B
Python
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||
|
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
|
||
|
|
||
|
package(default_visibility = ["//visibility:public"])
|
||
|
|
||
|
load("@rules_proto//proto:defs.bzl", "proto_library")
|
||
|
|
||
|
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",
|
||
|
)
|