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.

BUCK 651B

123456789101112131415161718192021222324252627282930
  1. TESTS = glob(['tst/**/*.java'])
  2. for t in TESTS:
  3. n = t[len('tst/'):len(t)-len('.java')].replace('/', '.')
  4. java_test(
  5. name = n,
  6. labels = ['lfs'],
  7. srcs = [t],
  8. deps = [
  9. ':helpers',
  10. '//org.eclipse.jgit.junit:junit',
  11. '//org.eclipse.jgit.lfs:jgit-lfs',
  12. '//org.eclipse.jgit:jgit',
  13. '//lib:hamcrest-core',
  14. '//lib:hamcrest-library',
  15. '//lib:junit',
  16. ],
  17. )
  18. java_library(
  19. name = 'helpers',
  20. srcs = glob(['src/**/*.java']),
  21. deps = [
  22. '//org.eclipse.jgit:jgit',
  23. '//org.eclipse.jgit.lfs:jgit-lfs',
  24. '//org.eclipse.jgit.junit:junit',
  25. '//lib:junit',
  26. ],
  27. visibility = ['PUBLIC']
  28. )