| load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") |
| |
| go_library( |
| name = "launch_lib", |
| srcs = ["main.go"], |
| importpath = "source.monogon.dev/metropolis/test/launch/cli/launch", |
| visibility = ["//visibility:private"], |
| deps = [ |
| "//metropolis/cli/pkg/context", |
| "//metropolis/proto/api", |
| "//metropolis/test/launch", |
| "//metropolis/test/launch/cluster", |
| ], |
| ) |
| |
| go_binary( |
| name = "launch", |
| data = [ |
| "//metropolis/node:image", |
| "//metropolis/node:swtpm_data", |
| "//third_party/edk2:firmware", |
| ], |
| embed = [":launch_lib"], |
| visibility = ["//:__pkg__"], |
| ) |