kdhcp/dhcp/BUILD.bazel

26 lines
559 B
Python
Raw Normal View History

2023-05-15 13:09:12 +00:00
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2023-05-02 23:33:14 +00:00
go_library(
name = "dhcp",
srcs = [
2023-05-15 13:09:12 +00:00
"offer.go",
2023-05-02 23:33:14 +00:00
"options.go",
"packet.go",
2023-05-15 13:09:12 +00:00
"parameters.go",
2023-05-06 05:21:27 +00:00
"read_options.go",
2023-05-02 23:33:14 +00:00
],
importpath = "git.wntrmute.dev/kyle/kdhcp/dhcp",
visibility = ["//visibility:public"],
2023-05-15 13:09:12 +00:00
deps = [
"//leases",
"@dev_wntrmute_git_kyle_goutils//assert",
"@dev_wntrmute_git_kyle_goutils//log",
],
)
go_test(
name = "dhcp_test",
srcs = ["parameters_test.go"],
embed = [":dhcp"],
2023-05-02 23:33:14 +00:00
)