xref: /JGit/BUILD (revision 0f6ddb372bc24a010c85849dfc80f72fc8cd604d)
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",
8*0f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.pgm:pgm",
9*0f6ddb37SDavid 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",
16e92a0c3aSDavid Ostrovsky    ],
17dd5e500aSDavid Pursehouse    outs = ["all.zip"],
18dd5e500aSDavid Pursehouse    cmd = " && ".join([
19dd5e500aSDavid Pursehouse        "p=$$PWD",
20dd5e500aSDavid Pursehouse        "t=$$(mktemp -d || mktemp -d -t bazel-tmp)",
21dd5e500aSDavid Pursehouse        "cp $(SRCS) $$t",
22dd5e500aSDavid Pursehouse        "cd $$t",
23dd5e500aSDavid Pursehouse        "zip -qr $$p/$@ .",
24e92a0c3aSDavid Ostrovsky    ]),
25e92a0c3aSDavid Ostrovsky)
26