load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") | |
go_library( | |
name = "ident", | |
srcs = [ | |
"client.go", | |
"errors.go", | |
"request.go", | |
"response.go", | |
"server.go", | |
], | |
importpath = "code.hackerspace.pl/hscloud/cluster/identd/ident", | |
visibility = ["//visibility:public"], | |
deps = ["@com_github_golang_glog//:glog"], | |
) | |
go_test( | |
name = "ident_test", | |
srcs = [ | |
"e2e_test.go", | |
"request_test.go", | |
"response_test.go", | |
"server_test.go", | |
], | |
embed = [":ident"], | |
deps = ["@com_github_go_test_deep//:deep"], | |
) |