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