diff options
author | Andrei Vagin <avagin@google.com> | 2019-05-02 19:26:16 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-05-02 19:27:27 -0700 |
commit | c967fbdaa2cda260312f73a3f75744ac1ad11176 (patch) | |
tree | 39d916d6423100918fba8e57026baa9bfbd16ce7 /runsc/container/test_app/BUILD | |
parent | bf40fa21292f08e66a274169ad1318e62fbc542b (diff) |
runsc: move test_app in a separate directory
Opensource tools (e. g. https://github.com/fatih/vim-go) can't hanlde more than
one golang package in one directory.
PiperOrigin-RevId: 246435962
Change-Id: I67487915e3838762424b2d168efc54ae34fb801f
Diffstat (limited to 'runsc/container/test_app/BUILD')
-rw-r--r-- | runsc/container/test_app/BUILD | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/runsc/container/test_app/BUILD b/runsc/container/test_app/BUILD new file mode 100644 index 000000000..054705ed7 --- /dev/null +++ b/runsc/container/test_app/BUILD @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary") + +package(licenses = ["notice"]) + +go_binary( + name = "test_app", + testonly = 1, + srcs = ["test_app.go"], + pure = "on", + visibility = ["//runsc/container:__pkg__"], + deps = [ + "//runsc/test/testutil", + "@com_github_google_subcommands//:go_default_library", + ], +) |