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