Sergiusz Bazanski | 9dc4b68 | 2019-04-05 23:51:49 +0200 | [diff] [blame] | 1 | load("@io_bazel_rules_go//go:def.bzl", "go_library") |
| 2 | load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") |
| 3 | |
| 4 | proto_library( |
Sergiusz Bazanski | 2da126c | 2019-07-21 15:36:27 +0200 | [diff] [blame] | 5 | name = "proto_proto", |
Sergiusz Bazanski | 9dc4b68 | 2019-04-05 23:51:49 +0200 | [diff] [blame] | 6 | srcs = ["checkinator.proto"], |
| 7 | visibility = ["//visibility:public"], |
| 8 | ) |
| 9 | |
| 10 | go_proto_library( |
Sergiusz Bazanski | 2da126c | 2019-07-21 15:36:27 +0200 | [diff] [blame] | 11 | name = "proto_go_proto", |
Sergiusz Bazanski | 9dc4b68 | 2019-04-05 23:51:49 +0200 | [diff] [blame] | 12 | compilers = ["@io_bazel_rules_go//proto:go_grpc"], |
Sergiusz Bazanski | 2da126c | 2019-07-21 15:36:27 +0200 | [diff] [blame] | 13 | importpath = "code.hackerspace.pl/hscloud/hswaw/proto", |
| 14 | proto = ":proto_proto", |
Sergiusz Bazanski | 9dc4b68 | 2019-04-05 23:51:49 +0200 | [diff] [blame] | 15 | visibility = ["//visibility:public"], |
| 16 | ) |
| 17 | |
| 18 | go_library( |
| 19 | name = "go_default_library", |
Sergiusz Bazanski | 2da126c | 2019-07-21 15:36:27 +0200 | [diff] [blame] | 20 | embed = [":proto_go_proto"], |
| 21 | importpath = "code.hackerspace.pl/hscloud/hswaw/proto", |
Sergiusz Bazanski | 9dc4b68 | 2019-04-05 23:51:49 +0200 | [diff] [blame] | 22 | visibility = ["//visibility:public"], |
| 23 | ) |