2023-04-12 04:21:40 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
2023-04-12 05:15:34 +00:00
|
|
|
name = "packer_lib",
|
|
|
|
srcs = ["ubuntu-board-gen.go"],
|
|
|
|
importpath = "git.wntrmute.dev/kyle/bladerunner/packer",
|
2023-04-12 04:21:40 +00:00
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
deps = [
|
2023-04-12 05:15:34 +00:00
|
|
|
"//packer/packerlib",
|
2023-04-12 04:55:00 +00:00
|
|
|
"@ht_sr_git_kisom_goutils//die",
|
2023-04-12 04:21:40 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_binary(
|
|
|
|
name = "ubuntu-board-gen",
|
2023-04-12 05:15:34 +00:00
|
|
|
embed = [":packer_lib"],
|
2023-04-12 04:21:40 +00:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|