summaryrefslogtreecommitdiffstats
path: root/BUILD
blob: 3d9389afc43ea57c49f50b911b633787330e1f98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package(default_visibility = ["//visibility:public"])

genrule(
    name = "all",
    srcs = [
        "//org.eclipse.jgit:jgit",
        "//org.eclipse.jgit.archive:jgit-archive",
        "//org.eclipse.jgit.http.server:jgit-servlet",
        "//org.eclipse.jgit.junit:junit",
    ],
    outs = ["all.zip"],
    cmd = " && ".join([
        "p=$$PWD",
        "t=$$(mktemp -d || mktemp -d -t bazel-tmp)",
        "cp $(SRCS) $$t",
        "cd $$t",
        "zip -qr $$p/$@ .",
    ]),
)