mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-12-26 20:20:56 +00:00
30 lines
811 B
Text
30 lines
811 B
Text
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||
|
|
||
|
go_library(
|
||
|
name = "cobra",
|
||
|
srcs = [
|
||
|
"args.go",
|
||
|
"bash_completions.go",
|
||
|
"cobra.go",
|
||
|
"command.go",
|
||
|
"command_notwin.go",
|
||
|
"command_win.go",
|
||
|
"custom_completions.go",
|
||
|
"fish_completions.go",
|
||
|
"powershell_completions.go",
|
||
|
"shell_completions.go",
|
||
|
"zsh_completions.go",
|
||
|
],
|
||
|
importmap = "peridot.resf.org/vendor/github.com/spf13/cobra",
|
||
|
importpath = "github.com/spf13/cobra",
|
||
|
visibility = ["//visibility:public"],
|
||
|
deps = [
|
||
|
"//vendor/github.com/spf13/pflag",
|
||
|
] + select({
|
||
|
"@io_bazel_rules_go//go/platform:windows": [
|
||
|
"//vendor/github.com/inconshreveable/mousetrap",
|
||
|
],
|
||
|
"//conditions:default": [],
|
||
|
}),
|
||
|
)
|