diff options
Diffstat (limited to 'BUILD')
-rw-r--r-- | BUILD | 44 |
1 files changed, 23 insertions, 21 deletions
@@ -1,8 +1,31 @@ +# Bazel - Google's Build System + package(default_visibility = ["//scripts/release:__pkg__"]) exports_files(["LICENSE"]) filegroup( + name = "srcs", + srcs = glob( + ["*"], + exclude = [ + "bazel-*", # convenience symlinks + "out", # IntelliJ with setup-intellij.sh + "output", # output of compile.sh + ".*", # mainly .git* files + ], + ) + [ + "//examples:srcs", + "//scripts:srcs", + "//site:srcs", + "//src:srcs", + "//tools:srcs", + "//third_party:srcs", + ], + visibility = ["//visibility:private"], +) + +filegroup( name = "git", srcs = glob([".git/**"]), ) @@ -30,27 +53,6 @@ filegroup( ) filegroup( - name = "srcs", - srcs = glob( - ["*"], - exclude = [ - "bazel-*", # convenience symlinks - "out", # IntelliJ with setup-intellij.sh - "output", # output of compile.sh - ".*", # mainly .git* files - ], - ) + [ - "//examples:srcs", - "//scripts:srcs", - "//site:srcs", - "//src:srcs", - "//tools:srcs", - "//third_party:srcs", - ], - visibility = ["//visibility:private"], -) - -filegroup( name = "bootstrap-derived-java-srcs", srcs = glob(["derived/**/*.java"]), visibility = ["//:__subpackages__"], |