2018-07-07 17:23:19 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2018-07-09 02:40:34 +00:00
|
|
|
"customflags.go",
|
2018-07-10 02:27:23 +00:00
|
|
|
"debug.go",
|
2018-07-09 02:40:34 +00:00
|
|
|
"flags.go",
|
2018-07-07 17:23:19 +00:00
|
|
|
"service.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/geth-sharding/sharding/utils",
|
2018-07-12 17:00:37 +00:00
|
|
|
visibility = ["//sharding:__subpackages__"],
|
2018-07-07 17:23:19 +00:00
|
|
|
deps = [
|
2018-07-09 02:40:34 +00:00
|
|
|
"//sharding/params:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//node:go_default_library",
|
2018-07-10 02:27:23 +00:00
|
|
|
"@com_github_fjl_memsize//memsizeui:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2018-07-09 02:40:34 +00:00
|
|
|
"@com_github_urfave_cli//:go_default_library",
|
2018-07-07 17:23:19 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
2018-07-09 02:40:34 +00:00
|
|
|
"customflags_test.go",
|
2018-07-07 17:23:19 +00:00
|
|
|
"service_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
2018-07-10 02:27:23 +00:00
|
|
|
deps = ["@com_github_sirupsen_logrus//hooks/test:go_default_library"],
|
2018-07-07 17:23:19 +00:00
|
|
|
)
|