mirror of https://github.com/kubernetes/kops.git
24 lines
720 B
Python
24 lines
720 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["sentry.go"],
|
|
importpath = "github.com/Sirupsen/logrus/hooks/sentry",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//vendor/github.com/Sirupsen/logrus:go_default_library",
|
|
"//vendor/github.com/getsentry/raven-go:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["sentry_test.go"],
|
|
importpath = "github.com/Sirupsen/logrus/hooks/sentry",
|
|
library = ":go_default_library",
|
|
deps = [
|
|
"//vendor/github.com/Sirupsen/logrus:go_default_library",
|
|
"//vendor/github.com/getsentry/raven-go:go_default_library",
|
|
],
|
|
)
|