xref: /JGit/BUILD (revision 4560bdf7e2e3c16a7c7bb3f2fcf067bb1eee26fb)
1dd5e500aSDavid Pursehousepackage(default_visibility = ["//visibility:public"])
2e92a0c3aSDavid Ostrovsky
3e92a0c3aSDavid Ostrovskygenrule(
4dd5e500aSDavid Pursehouse    name = "all",
502fe1e0bSJonathan Nieder    testonly = 1,
6e92a0c3aSDavid Ostrovsky    srcs = [
7dd5e500aSDavid Pursehouse        "//org.eclipse.jgit:jgit",
80f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:pgm",
90f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.ui:ui",
10dd5e500aSDavid Pursehouse        "//org.eclipse.jgit.archive:jgit-archive",
119d147443SDavid Pursehouse        "//org.eclipse.jgit.http.apache:http-apache",
12dd5e500aSDavid Pursehouse        "//org.eclipse.jgit.http.server:jgit-servlet",
139d147443SDavid Pursehouse        "//org.eclipse.jgit.lfs:jgit-lfs",
149d147443SDavid Pursehouse        "//org.eclipse.jgit.lfs.server:jgit-lfs-server",
15dd5e500aSDavid Pursehouse        "//org.eclipse.jgit.junit:junit",
16*4560bdf7SDavid Ostrovsky        "//org.eclipse.jgit.ssh.apache:ssh-apache",
17*4560bdf7SDavid Ostrovsky        "//org.eclipse.jgit.ssh.jsch:ssh-jsch",
18e92a0c3aSDavid Ostrovsky    ],
19dd5e500aSDavid Pursehouse    outs = ["all.zip"],
20dd5e500aSDavid Pursehouse    cmd = " && ".join([
21dd5e500aSDavid Pursehouse        "p=$$PWD",
22dd5e500aSDavid Pursehouse        "t=$$(mktemp -d || mktemp -d -t bazel-tmp)",
23dd5e500aSDavid Pursehouse        "cp $(SRCS) $$t",
24dd5e500aSDavid Pursehouse        "cd $$t",
25dd5e500aSDavid Pursehouse        "zip -qr $$p/$@ .",
26e92a0c3aSDavid Ostrovsky    ]),
27e92a0c3aSDavid Ostrovsky)
28