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