mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-14 01:41:23 +00:00
66 lines
2.0 KiB
Python
66 lines
2.0 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "logrus",
|
|
srcs = [
|
|
"alt_exit.go",
|
|
"buffer_pool.go",
|
|
"doc.go",
|
|
"entry.go",
|
|
"exported.go",
|
|
"formatter.go",
|
|
"hooks.go",
|
|
"json_formatter.go",
|
|
"logger.go",
|
|
"logrus.go",
|
|
"terminal_check_bsd.go",
|
|
"terminal_check_js.go",
|
|
"terminal_check_no_terminal.go",
|
|
"terminal_check_notappengine.go",
|
|
"terminal_check_solaris.go",
|
|
"terminal_check_unix.go",
|
|
"terminal_check_windows.go",
|
|
"text_formatter.go",
|
|
"writer.go",
|
|
],
|
|
importmap = "peridot.resf.org/vendor/github.com/sirupsen/logrus",
|
|
importpath = "github.com/sirupsen/logrus",
|
|
visibility = ["//visibility:public"],
|
|
deps = select({
|
|
"@io_bazel_rules_go//go/platform:aix": [
|
|
"//vendor/golang.org/x/sys/unix",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:android": [
|
|
"//vendor/golang.org/x/sys/unix",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:darwin": [
|
|
"//vendor/golang.org/x/sys/unix",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:dragonfly": [
|
|
"//vendor/golang.org/x/sys/unix",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:freebsd": [
|
|
"//vendor/golang.org/x/sys/unix",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:ios": [
|
|
"//vendor/golang.org/x/sys/unix",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:linux": [
|
|
"//vendor/golang.org/x/sys/unix",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:netbsd": [
|
|
"//vendor/golang.org/x/sys/unix",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:openbsd": [
|
|
"//vendor/golang.org/x/sys/unix",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:solaris": [
|
|
"//vendor/golang.org/x/sys/unix",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:windows": [
|
|
"//vendor/golang.org/x/sys/windows",
|
|
],
|
|
"//conditions:default": [],
|
|
}),
|
|
)
|