Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD19
1 files changed, 19 insertions, 0 deletions
diff --git a/BUILD b/BUILD
new file mode 100644
index 0000000000..79c5e3f385
--- /dev/null
+++ b/BUILD
@@ -0,0 +1,19 @@
+package(default_visibility = ['//visibility:public'])
+
+genrule(
+ name = 'all',
+ srcs = [
+ '//org.eclipse.jgit:jgit',
+ '//org.eclipse.jgit.archive:jgit-archive',
+ '//org.eclipse.jgit.http.server:jgit-servlet',
+ '//org.eclipse.jgit.junit:junit',
+ ],
+ cmd = ' && '.join([
+ 'p=$$PWD',
+ 't=$$(mktemp -d || mktemp -d -t bazel-tmp)',
+ 'cp $(SRCS) $$t',
+ 'cd $$t',
+ 'zip -qr $$p/$@ .',
+ ]),
+ outs = ['all.zip'],
+)

Back to the top