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