2023-04-30 06:46:44 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "kdhcpd_lib",
|
|
|
|
srcs = ["main.go"],
|
|
|
|
importpath = "git.wntrmute.dev/kyle/kdhcp/cmd/kdhcpd",
|
|
|
|
visibility = ["//visibility:private"],
|
2023-05-01 14:37:52 +00:00
|
|
|
deps = [
|
2023-05-02 16:27:27 +00:00
|
|
|
"//config",
|
2023-05-01 14:37:52 +00:00
|
|
|
"//log",
|
|
|
|
"//server",
|
2023-05-02 16:27:27 +00:00
|
|
|
"@com_github_peterbourgon_ff_v3//ffcli",
|
2023-05-01 14:37:52 +00:00
|
|
|
],
|
2023-04-30 06:46:44 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_binary(
|
|
|
|
name = "kdhcpd",
|
|
|
|
embed = [":kdhcpd_lib"],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|