aboutsummaryrefslogtreecommitdiff
path: root/gazelle/python/testdata/simple_binary_with_library/BUILD.out
diff options
context:
space:
mode:
Diffstat (limited to 'gazelle/python/testdata/simple_binary_with_library/BUILD.out')
-rw-r--r--gazelle/python/testdata/simple_binary_with_library/BUILD.out27
1 files changed, 27 insertions, 0 deletions
diff --git a/gazelle/python/testdata/simple_binary_with_library/BUILD.out b/gazelle/python/testdata/simple_binary_with_library/BUILD.out
new file mode 100644
index 0000000..eddc15c
--- /dev/null
+++ b/gazelle/python/testdata/simple_binary_with_library/BUILD.out
@@ -0,0 +1,27 @@
+load("@rules_python//python:defs.bzl", "py_binary", "py_library")
+
+py_library(
+ name = "simple_binary_with_library",
+ srcs = [
+ "__init__.py",
+ "bar.py",
+ "foo.py",
+ ],
+ visibility = ["//:__subpackages__"],
+)
+
+# This target should be kept unmodified by Gazelle.
+py_library(
+ name = "custom",
+ srcs = [
+ "bar.py",
+ ],
+)
+
+py_binary(
+ name = "simple_binary_with_library_bin",
+ srcs = ["__main__.py"],
+ main = "__main__.py",
+ visibility = ["//:__subpackages__"],
+ deps = [":simple_binary_with_library"],
+)