You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627
  1. package(default_visibility = ["//visibility:public"])
  2. genrule(
  3. name = "all",
  4. testonly = 1,
  5. srcs = [
  6. "//org.eclipse.jgit:jgit",
  7. "//org.eclipse.jgit.pgm:pgm",
  8. "//org.eclipse.jgit.ui:ui",
  9. "//org.eclipse.jgit.archive:jgit-archive",
  10. "//org.eclipse.jgit.http.apache:http-apache",
  11. "//org.eclipse.jgit.http.server:jgit-servlet",
  12. "//org.eclipse.jgit.lfs:jgit-lfs",
  13. "//org.eclipse.jgit.lfs.server:jgit-lfs-server",
  14. "//org.eclipse.jgit.junit:junit",
  15. "//org.eclipse.jgit.ssh.apache:ssh-apache",
  16. "//org.eclipse.jgit.ssh.jsch:ssh-jsch",
  17. ],
  18. outs = ["all.zip"],
  19. cmd = " && ".join([
  20. "p=$$PWD",
  21. "t=$$(mktemp -d || mktemp -d -t bazel-tmp)",
  22. "cp $(SRCS) $$t",
  23. "cd $$t",
  24. "zip -qr $$p/$@ .",
  25. ]),
  26. )