21 lines
494 B
Python
21 lines
494 B
Python
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"],
|
|
deps = [
|
|
"//config",
|
|
"//server",
|
|
"@com_github_peterbourgon_ff_v3//ffcli",
|
|
"@dev_wntrmute_git_kyle_goutils//log",
|
|
],
|
|
)
|
|
|
|
go_binary(
|
|
name = "kdhcpd",
|
|
embed = [":kdhcpd_lib"],
|
|
visibility = ["//visibility:public"],
|
|
)
|