blob: bab9ee318a86bae4c6de8e5359eb8ad9c8b461ba [file] [log] [blame]
Sergiusz Bazanski6eaaaf92019-08-02 01:25:31 +02001load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
2
3go_library(
Serge Bazanski97b5cd72023-07-28 17:14:50 +00004 name = "irr_lib",
Sergiusz Bazanski6eaaaf92019-08-02 01:25:31 +02005 srcs = ["main.go"],
6 importpath = "code.hackerspace.pl/hscloud/bgpwtf/cccampix/irr",
7 visibility = ["//visibility:private"],
8 deps = [
Serge Bazanski97b5cd72023-07-28 17:14:50 +00009 "//bgpwtf/cccampix/irr/provider",
10 "//bgpwtf/cccampix/proto",
11 "//go/mirko",
12 "@com_github_golang_glog//:glog",
13 "@org_golang_google_grpc//codes",
14 "@org_golang_google_grpc//status",
Sergiusz Bazanski6eaaaf92019-08-02 01:25:31 +020015 ],
16)
17
18go_binary(
19 name = "irr",
Serge Bazanski97b5cd72023-07-28 17:14:50 +000020 embed = [":irr_lib"],
Sergiusz Bazanski6eaaaf92019-08-02 01:25:31 +020021 visibility = ["//visibility:public"],
22)