diff options
author | Adin Scannell <ascannell@google.com> | 2019-04-04 17:04:30 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-04-04 17:05:38 -0700 |
commit | 75c8ac38e0f6cc4eb3726c89aee41357cd592c4b (patch) | |
tree | b8d9a574de6efa6272b2b34984d2a975c6a1f76d /BUILD | |
parent | e9508967b0a1c9a8398adf5f6c28be79353f8a1f (diff) |
BUILD: Add useful go_path target
Change-Id: Ibd6d8a1a63826af6e62a0f0669f8f0866c8091b4
PiperOrigin-RevId: 242037969
Diffstat (limited to 'BUILD')
-rw-r--r-- | BUILD | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -1,3 +1,7 @@ +package(licenses = ["notice"]) # Apache 2.0 + +load("@io_bazel_rules_go//go:def.bzl", "go_path") + # The sandbox filegroup is used for sandbox-internal dependencies. package_group( name = "sandbox", @@ -5,3 +9,16 @@ package_group( "//...", ], ) + +# gopath defines a directory that is structured in a way that is compatible +# with standard Go tools. Things like godoc, editors and refactor tools should +# work as expected. +# +# The files in this tree are symlinks to the true sources. +go_path( + name = "gopath", + mode = "link", + deps = [ + "//runsc", + ], +) |