...
1load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
2
3go_library(
4 name = "hiss_lib",
5 srcs = ["main.go"],
6 importpath = "edge-infra.dev/hack/tools/hiss",
7 visibility = ["//visibility:private"],
8 deps = [
9 "//pkg/lib/build/bazel",
10 "//pkg/lib/cli/commands",
11 "@com_github_google_go_github_v47//github",
12 "@com_github_peterbourgon_ff_v3//:ff",
13 "@com_github_peterbourgon_ff_v3//ffcli",
14 "@org_golang_x_oauth2//:oauth2",
15 ],
16)
17
18go_binary(
19 name = "hiss",
20 embed = [":hiss_lib"],
21 visibility = ["//visibility:public"],
22)
View as plain text