diff --git a/BUILD b/BUILD index 7e62489..6cf90f7 100644 --- a/BUILD +++ b/BUILD @@ -1,18 +1,18 @@ load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") go_library( - name = "undocker_lib", + name = "go_default_library", srcs = ["main.go"], importpath = "github.com/motiejus/code/undocker", visibility = ["//visibility:private"], deps = [ "//src/undocker/rootfs:rootfs_lib", - "@com_github_jessevdk_go_flags//:go-flags", + "@com_github_jessevdk_go_flags//:go_default_library", ], ) go_binary( name = "undocker", - embed = [":undocker_lib"], + embed = [":go_default_library"], visibility = ["//visibility:public"], ) diff --git a/rootfs/BUILD b/rootfs/BUILD index b9eaa2e..27a24ff 100644 --- a/rootfs/BUILD +++ b/rootfs/BUILD @@ -8,11 +8,11 @@ go_library( ) go_test( - name = "rootfs_test", + name = "go_default_test", srcs = ["rootfs_test.go"], - embed = [":rootfs"], + embed = [":go_default_library"], deps = [ - "@com_github_stretchr_testify//assert", - "@com_github_stretchr_testify//require", + "@com_github_stretchr_testify//assert:go_default_library", + "@com_github_stretchr_testify//require:go_default_library", ], )