summaryrefslogtreecommitdiffstats
path: root/BUILD
diff options
context:
space:
mode:
authorJonathan Nieder <jrn@google.com>2017-03-19 18:52:55 -0700
committerJonathan Nieder <jrn@google.com>2017-03-19 18:56:27 -0700
commit02fe1e0b5b237b090e91c4a5d1ab1ac7b938d0f6 (patch)
treefd0e27b0e46b6d1395a95e678a42bb83f03f4224 /BUILD
parentbc5014faec917b08e665e6292b6279fc90ddc50d (diff)
downloadjgit-02fe1e0b5b237b090e91c4a5d1ab1ac7b938d0f6.tar.gz
jgit-02fe1e0b5b237b090e91c4a5d1ab1ac7b938d0f6.zip
bazel: Mark junit targets testonly
Only testonly targets (such as tests) need to use junit. In particular this involves making the toplevel :all rule testonly. It's not clear to me what that rule is for --- "bazel build //..." already works to build all targets. In any case it appears to be for testing, so marking it as testonly shouldn't be harmful. Change-Id: I28ff508ab8ce2ec0a0111109110aa9680d30600e
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/BUILD b/BUILD
index f94a952283..683ef9e25f 100644
--- a/BUILD
+++ b/BUILD
@@ -2,6 +2,7 @@ package(default_visibility = ["//visibility:public"])
genrule(
name = "all",
+ testonly = 1,
srcs = [
"//org.eclipse.jgit:jgit",
"//org.eclipse.jgit.archive:jgit-archive",