bazel stuff

This commit is contained in:
2023-04-29 23:46:44 -07:00
parent f3fc03392a
commit 0325eb8536
9 changed files with 72 additions and 7 deletions

15
cmd/kdhcpd/BUILD.bazel Normal file
View File

@@ -0,0 +1,15 @@
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"],
)