File: BUILD

package info (click to toggle)
jgit 6.7.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 24,052 kB
  • sloc: java: 265,941; xml: 6,543; sh: 334; ruby: 100; python: 20; makefile: 6
file content (28 lines) | stat: -rw-r--r-- 897 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package(default_visibility = ["//visibility:public"])

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