19 lines
395 B
Python
19 lines
395 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 = [
|
|
"//log",
|
|
"//server",
|
|
],
|
|
)
|
|
|
|
go_binary(
|
|
name = "kdhcpd",
|
|
embed = [":kdhcpd_lib"],
|
|
visibility = ["//visibility:public"],
|
|
)
|