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