blob: 0c30b2c28bb8d5863873b5930de9a367ed83e300 [file] [log] [blame]
Sergiusz Bazanski0581bbf2020-05-11 03:21:32 +02001load("@io_bazel_rules_go//go:def.bzl", "go_library")
2load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
3
4proto_library(
5 name = "proto_proto",
6 srcs = ["modproxy.proto"],
7 visibility = ["//visibility:public"],
8)
9
10go_proto_library(
11 name = "proto_go_proto",
12 compilers = ["@io_bazel_rules_go//proto:go_grpc"],
13 importpath = "code.hackerspace.pl/hscloud/games/factorio/modproxy/proto",
14 proto = ":proto_proto",
15 visibility = ["//visibility:public"],
16)
17
18go_library(
19 name = "go_default_library",
20 embed = [":proto_go_proto"],
21 importpath = "code.hackerspace.pl/hscloud/games/factorio/modproxy/proto",
22 visibility = ["//visibility:public"],
23)