goutils/config/BUILD.bazel

25 lines
504 B
Python
Raw Permalink Normal View History

2023-05-04 21:00:30 +00:00
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "config",
srcs = [
"config.go",
"path.go",
2023-05-04 21:00:30 +00:00
"path_linux.go",
],
importpath = "git.wntrmute.dev/kyle/goutils/config",
visibility = ["//visibility:public"],
2023-05-04 22:11:15 +00:00
deps = ["//config/iniconf"],
2023-05-04 21:00:30 +00:00
)
go_test(
name = "config_test",
2023-05-04 22:11:15 +00:00
size = "small",
2023-05-04 21:00:30 +00:00
srcs = [
"config_test.go",
"path_test.go",
],
data = glob(["testdata/**"]),
embed = [":config"],
)