load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") | |
go_library( | |
name = "config", | |
srcs = ["config.go"], | |
importpath = "code.hackerspace.pl/hscloud/devtools/hackdoc/config", | |
visibility = ["//visibility:public"], | |
deps = [ | |
"//devtools/hackdoc/source", | |
"@com_github_burntsushi_toml//:toml", | |
], | |
) | |
go_test( | |
name = "config_test", | |
srcs = ["config_test.go"], | |
embed = [":config"], | |
deps = ["@com_github_go_test_deep//:deep"], | |
) |