kdhcp/iptools/BUILD.bazel

29 lines
587 B
Python
Raw Normal View History

load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "iptools",
srcs = [
"pool.go",
"range.go",
2023-05-05 07:13:46 +00:00
"tools.go",
],
importpath = "git.wntrmute.dev/kyle/kdhcp/iptools",
visibility = ["//visibility:public"],
2023-05-09 07:28:54 +00:00
deps = [
2023-05-15 13:09:12 +00:00
"//dhcp",
"//leases",
2023-05-09 07:28:54 +00:00
"@dev_wntrmute_git_kyle_goutils//assert",
"@dev_wntrmute_git_kyle_goutils//log",
],
)
go_test(
name = "iptools_test",
2023-05-09 07:34:49 +00:00
size = "small",
2023-05-05 07:13:46 +00:00
srcs = [
"pool_test.go",
"range_test.go",
],
embed = [":iptools"],
)