blob: 5e980071ad273354c2c99ebbe1c4e478353633fa [file] [log] [blame]
Sergiusz Bazanski9dc4b682019-04-05 23:51:49 +02001load("@io_bazel_rules_go//go:def.bzl", "go_library")
2load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
3
4proto_library(
Sergiusz Bazanski2da126c2019-07-21 15:36:27 +02005 name = "proto_proto",
Sergiusz Bazanski9dc4b682019-04-05 23:51:49 +02006 srcs = ["checkinator.proto"],
7 visibility = ["//visibility:public"],
8)
9
10go_proto_library(
Sergiusz Bazanski2da126c2019-07-21 15:36:27 +020011 name = "proto_go_proto",
Sergiusz Bazanski9dc4b682019-04-05 23:51:49 +020012 compilers = ["@io_bazel_rules_go//proto:go_grpc"],
Sergiusz Bazanski2da126c2019-07-21 15:36:27 +020013 importpath = "code.hackerspace.pl/hscloud/hswaw/proto",
14 proto = ":proto_proto",
Sergiusz Bazanski9dc4b682019-04-05 23:51:49 +020015 visibility = ["//visibility:public"],
16)
17
18go_library(
19 name = "go_default_library",
Sergiusz Bazanski2da126c2019-07-21 15:36:27 +020020 embed = [":proto_go_proto"],
21 importpath = "code.hackerspace.pl/hscloud/hswaw/proto",
Sergiusz Bazanski9dc4b682019-04-05 23:51:49 +020022 visibility = ["//visibility:public"],
23)