xref: /JGit/BUILD (revision 9d1474431fea4fd034885f50015f91b7b68a72b7)
1dd5e500aSDavid Pursehousepackage(default_visibility = ["//visibility:public"])
2e92a0c3aSDavid Ostrovsky
3e92a0c3aSDavid Ostrovskygenrule(
4dd5e500aSDavid Pursehouse    name = "all",
5e92a0c3aSDavid Ostrovsky    srcs = [
6dd5e500aSDavid Pursehouse        "//org.eclipse.jgit:jgit",
7dd5e500aSDavid Pursehouse        "//org.eclipse.jgit.archive:jgit-archive",
8*9d147443SDavid Pursehouse        "//org.eclipse.jgit.http.apache:http-apache",
9dd5e500aSDavid Pursehouse        "//org.eclipse.jgit.http.server:jgit-servlet",
10*9d147443SDavid Pursehouse        "//org.eclipse.jgit.lfs:jgit-lfs",
11*9d147443SDavid Pursehouse        "//org.eclipse.jgit.lfs.server:jgit-lfs-server",
12dd5e500aSDavid Pursehouse        "//org.eclipse.jgit.junit:junit",
13e92a0c3aSDavid Ostrovsky    ],
14dd5e500aSDavid Pursehouse    outs = ["all.zip"],
15dd5e500aSDavid Pursehouse    cmd = " && ".join([
16dd5e500aSDavid Pursehouse        "p=$$PWD",
17dd5e500aSDavid Pursehouse        "t=$$(mktemp -d || mktemp -d -t bazel-tmp)",
18dd5e500aSDavid Pursehouse        "cp $(SRCS) $$t",
19dd5e500aSDavid Pursehouse        "cd $$t",
20dd5e500aSDavid Pursehouse        "zip -qr $$p/$@ .",
21e92a0c3aSDavid Ostrovsky    ]),
22e92a0c3aSDavid Ostrovsky)
23