...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "ini",
5 srcs = [
6 "data_source.go",
7 "deprecated.go",
8 "error.go",
9 "file.go",
10 "helper.go",
11 "ini.go",
12 "key.go",
13 "parser.go",
14 "section.go",
15 "struct.go",
16 ],
17 importpath = "edge-infra.dev/pkg/lib/ini",
18 visibility = ["//visibility:public"],
19)
20
21go_test(
22 name = "ini_test",
23 srcs = [
24 "bench_test.go",
25 "file_test.go",
26 "helper_test.go",
27 "ini_test.go",
28 "key_test.go",
29 "parser_test.go",
30 "section_test.go",
31 "struct_test.go",
32 ],
33 data = glob(["testdata/**"]),
34 embed = [":ini"],
35 deps = [
36 "//pkg/lib/build/bazel",
37 "@com_github_stretchr_testify//assert",
38 "@com_github_stretchr_testify//require",
39 ],
40)
View as plain text