change convention
This commit is contained in:
parent
fa6118d5c7
commit
756ebd4dc9
6
BUILD
6
BUILD
@ -1,18 +1,18 @@
|
|||||||
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
||||||
|
|
||||||
go_library(
|
go_library(
|
||||||
name = "undocker_lib",
|
name = "go_default_library",
|
||||||
srcs = ["main.go"],
|
srcs = ["main.go"],
|
||||||
importpath = "github.com/motiejus/code/undocker",
|
importpath = "github.com/motiejus/code/undocker",
|
||||||
visibility = ["//visibility:private"],
|
visibility = ["//visibility:private"],
|
||||||
deps = [
|
deps = [
|
||||||
"//src/undocker/rootfs:rootfs_lib",
|
"//src/undocker/rootfs:rootfs_lib",
|
||||||
"@com_github_jessevdk_go_flags//:go-flags",
|
"@com_github_jessevdk_go_flags//:go_default_library",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
go_binary(
|
go_binary(
|
||||||
name = "undocker",
|
name = "undocker",
|
||||||
embed = [":undocker_lib"],
|
embed = [":go_default_library"],
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
)
|
)
|
||||||
|
@ -8,11 +8,11 @@ go_library(
|
|||||||
)
|
)
|
||||||
|
|
||||||
go_test(
|
go_test(
|
||||||
name = "rootfs_test",
|
name = "go_default_test",
|
||||||
srcs = ["rootfs_test.go"],
|
srcs = ["rootfs_test.go"],
|
||||||
embed = [":rootfs"],
|
embed = [":go_default_library"],
|
||||||
deps = [
|
deps = [
|
||||||
"@com_github_stretchr_testify//assert",
|
"@com_github_stretchr_testify//assert:go_default_library",
|
||||||
"@com_github_stretchr_testify//require",
|
"@com_github_stretchr_testify//require:go_default_library",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user