summaryrefslogtreecommitdiffhomepage
path: root/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD17
1 files changed, 17 insertions, 0 deletions
diff --git a/BUILD b/BUILD
index 9ede10a9f..391791ca9 100644
--- a/BUILD
+++ b/BUILD
@@ -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",
+ ],
+)