...
1load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
2
3go_library(
4 name = "eyede_lib",
5 srcs = ["main.go"],
6 importpath = "edge-infra.dev/hack/tools/eyede",
7 visibility = ["//visibility:private"],
8 deps = [
9 "//hack/tools/eyede/use-database",
10 "//hack/tools/eyede/use-storage",
11 "//hack/tools/eyede/utils",
12 "//pkg/edge/api/utils",
13 "//pkg/lib/cli/commands",
14 "//pkg/lib/gcp/cloudsql",
15 "@com_github_googlecloudplatform_cloudsql_proxy//proxy/dialers/postgres",
16 "@com_github_peterbourgon_ff_v3//ffcli",
17 ],
18)
19
20go_binary(
21 name = "eyede",
22 embed = [":eyede_lib"],
23 visibility = ["//visibility:public"],
24)
View as plain text