peridot/vendor/github.com/mattn/go-isatty/BUILD.bazel

51 lines
1.6 KiB
Python
Raw Permalink Normal View History

2022-07-07 20:11:50 +00:00
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go-isatty",
srcs = [
"doc.go",
"isatty_bsd.go",
"isatty_others.go",
"isatty_plan9.go",
"isatty_solaris.go",
"isatty_tcgets.go",
"isatty_windows.go",
],
importmap = "peridot.resf.org/vendor/github.com/mattn/go-isatty",
importpath = "github.com/mattn/go-isatty",
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",
],
"//conditions:default": [],
}),
)