wip leave only rootfs
This commit is contained in:
17
BUILD
17
BUILD
@@ -1,4 +1,4 @@
|
||||
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_test")
|
||||
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
|
||||
load("@io_bazel_rules_docker//container:container.bzl", "container_bundle")
|
||||
|
||||
@@ -8,9 +8,7 @@ go_library(
|
||||
importpath = "git.sr.ht/~motiejus/code/undocker",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
"//src/undocker/internal/cmdlxcconfig:go_default_library",
|
||||
"//src/undocker/internal/cmdmanpage:go_default_library",
|
||||
"//src/undocker/internal/cmdrootfs:go_default_library",
|
||||
"//src/undocker/rootfs:go_default_library",
|
||||
"@com_github_jessevdk_go_flags//:go_default_library",
|
||||
],
|
||||
)
|
||||
@@ -20,3 +18,14 @@ go_binary(
|
||||
embed = [":go_default_library"],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
go_test(
|
||||
name = "go_default_test",
|
||||
srcs = ["main_test.go"],
|
||||
embed = [":go_default_library"],
|
||||
deps = [
|
||||
"@com_github_jessevdk_go_flags//:go_default_library",
|
||||
"@com_github_stretchr_testify//assert:go_default_library",
|
||||
"@com_github_stretchr_testify//require:go_default_library",
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user