Sergiusz Bazanski | 4c0e9b5 | 2020-04-08 22:42:33 +0200 | [diff] [blame] | 1 | load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") |
| 2 | |
| 3 | go_library( |
Serge Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame] | 4 | name = "service", |
Sergiusz Bazanski | f157b4d | 2020-04-10 17:39:43 +0200 | [diff] [blame] | 5 | srcs = [ |
| 6 | "gerrit.go", |
| 7 | "service.go", |
| 8 | ], |
Sergiusz Bazanski | 4c0e9b5 | 2020-04-08 22:42:33 +0200 | [diff] [blame] | 9 | importpath = "code.hackerspace.pl/hscloud/devtools/depotview/service", |
| 10 | visibility = ["//visibility:public"], |
| 11 | deps = [ |
Serge Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame] | 12 | "//devtools/depotview/proto", |
| 13 | "@com_github_go_git_go_git_v5//:go-git", |
| 14 | "@com_github_go_git_go_git_v5//config", |
| 15 | "@com_github_go_git_go_git_v5//plumbing", |
| 16 | "@com_github_go_git_go_git_v5//plumbing/filemode", |
| 17 | "@com_github_go_git_go_git_v5//plumbing/object", |
| 18 | "@com_github_go_git_go_git_v5//storage", |
| 19 | "@com_github_go_git_go_git_v5//storage/memory", |
| 20 | "@com_github_golang_glog//:glog", |
| 21 | "@org_golang_google_grpc//codes", |
| 22 | "@org_golang_google_grpc//status", |
Sergiusz Bazanski | 4c0e9b5 | 2020-04-08 22:42:33 +0200 | [diff] [blame] | 23 | ], |
| 24 | ) |
| 25 | |
| 26 | go_test( |
Serge Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame] | 27 | name = "service_test", |
Sergiusz Bazanski | 4c0e9b5 | 2020-04-08 22:42:33 +0200 | [diff] [blame] | 28 | srcs = ["service_test.go"], |
Serge Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame] | 29 | embed = [":service"], |
| 30 | deps = ["//devtools/depotview/proto"], |
Sergiusz Bazanski | 4c0e9b5 | 2020-04-08 22:42:33 +0200 | [diff] [blame] | 31 | ) |