mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
- Document bazel 7 requirement and how to use it on macOS. - Override `build_bazel_apple_support` to pick up support for CLT-only builds. - Fix nogo CLI build on macOS by using `"golang.org/x/term".IsTerminal` which works around `unix.TCGETS` not being defined there.
23 lines
559 B
Python
23 lines
559 B
Python
load("//tools:defs.bzl", "go_library")
|
|
|
|
package(
|
|
default_applicable_licenses = ["//:license"],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
go_library(
|
|
name = "cli",
|
|
srcs = ["cli.go"],
|
|
visibility = ["//tools:__subpackages__"],
|
|
deps = [
|
|
"//runsc/flag",
|
|
"//tools/nogo/check",
|
|
"//tools/nogo/config",
|
|
"//tools/nogo/facts",
|
|
"//tools/nogo/flags",
|
|
"@com_github_google_subcommands//:go_default_library",
|
|
"@in_gopkg_yaml_v2//:go_default_library",
|
|
"@org_golang_x_term//:go_default_library",
|
|
],
|
|
)
|