25 lines
504 B
Python
25 lines
504 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "iptools",
|
|
srcs = [
|
|
"hardware_address.go",
|
|
"lease_info.go",
|
|
"pool.go",
|
|
"range.go",
|
|
"tools.go",
|
|
],
|
|
importpath = "git.wntrmute.dev/kyle/kdhcp/iptools",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
go_test(
|
|
name = "iptools_test",
|
|
srcs = [
|
|
"hardware_address_test.go",
|
|
"pool_test.go",
|
|
"range_test.go",
|
|
],
|
|
embed = [":iptools"],
|
|
)
|