1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") 2 3go_library( 4 name = "grub", 5 srcs = ["grub.go"], 6 importpath = "edge-infra.dev/pkg/sds/lib/os/grub", 7 visibility = ["//visibility:public"], 8 deps = ["//pkg/sds/lib/os/file"], 9) 10 11go_test( 12 name = "grub_test", 13 srcs = ["grub_test.go"], 14 embed = [":grub"], 15 deps = [ 16 "//pkg/sds/lib/os/file/fake", 17 "@com_github_stretchr_testify//assert", 18 "@com_github_stretchr_testify//mock", 19 ], 20)