diff options
| author | Matthieu <matthieu@developershouse.xyz> | 2021-08-06 20:00:28 +0400 |
|---|---|---|
| committer | Matthieu <matthieu@developershouse.xyz> | 2021-08-06 20:00:28 +0400 |
| commit | 7c5fc028dc96e493912841d123d987aaa649178f (patch) | |
| tree | 92bf3509852b961c374990734ab902709da982b5 | |
| parent | 636bb155a196d432a64e6d086f5b4edae63cd8ba (diff) | |
update the gilang deps
| -rw-r--r-- | novactl/BUILD.bazel | 2 | ||||
| -rw-r--r-- | rest-ratelimiter/BUILD | 5 | ||||
| -rw-r--r-- | rest-ratelimiter/proto/BUILD.bazel | 24 |
3 files changed, 27 insertions, 4 deletions
diff --git a/novactl/BUILD.bazel b/novactl/BUILD.bazel index b52f011..88b8561 100644 --- a/novactl/BUILD.bazel +++ b/novactl/BUILD.bazel @@ -5,7 +5,7 @@ go_library( srcs = ["main.go"], importpath = "github.com/discordnova/nova/novactl", visibility = ["//visibility:private"], - deps = ["@com_github_gofiber_fiber_v2//:fiber"], + deps = ["@com_github_spf13_cobra//:go_default_library"], ) go_binary( diff --git a/rest-ratelimiter/BUILD b/rest-ratelimiter/BUILD index 32a7788..f8548b2 100644 --- a/rest-ratelimiter/BUILD +++ b/rest-ratelimiter/BUILD @@ -1,4 +1,3 @@ - load("@rules_rust//cargo:cargo_build_script.bzl", "cargo_build_script") load("@rules_rust//rust:rust.bzl", "rust_binary") @@ -12,5 +11,5 @@ cargo_build_script( rust_binary( name = "rest-ratelimiter", - srcs = ["src/main.rs"] -)
\ No newline at end of file + srcs = ["src/main.rs"], +) diff --git a/rest-ratelimiter/proto/BUILD.bazel b/rest-ratelimiter/proto/BUILD.bazel new file mode 100644 index 0000000..f6bd4ce --- /dev/null +++ b/rest-ratelimiter/proto/BUILD.bazel @@ -0,0 +1,24 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//go:def.bzl", "go_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( + name = "nova_ratelimit_v1_proto", + srcs = ["nova.ratelimit.v1.proto"], + visibility = ["//visibility:public"], +) + +go_proto_library( + name = "nova_ratelimit_v1_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], + importpath = "github.com/discordnova/nova/rest-ratelimiter/proto", + proto = ":nova_ratelimit_v1_proto", + visibility = ["//visibility:public"], +) + +go_library( + name = "proto", + embed = [":nova_ratelimit_v1_go_proto"], + importpath = "github.com/discordnova/nova/rest-ratelimiter/proto", + visibility = ["//visibility:public"], +) |
