21 lines
551 B
Python
21 lines
551 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
|
|
|
go_library(
|
|
name = "clustersh_lib",
|
|
srcs = ["main.go"],
|
|
importpath = "git.wntrmute.dev/kyle/goutils/cmd/clustersh",
|
|
visibility = ["//visibility:private"],
|
|
deps = [
|
|
"@com_github_pkg_sftp//:sftp",
|
|
"@ht_sr_git_kisom_goutils//lib:go_default_library",
|
|
"@org_golang_x_crypto//ssh",
|
|
"@org_golang_x_crypto//ssh/agent",
|
|
],
|
|
)
|
|
|
|
go_binary(
|
|
name = "clustersh",
|
|
embed = [":clustersh_lib"],
|
|
visibility = ["//visibility:public"],
|
|
)
|