纯java实现的git操作库。
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.

32 lines
712 B

TESTS = glob(['tst/**/*.java'])
for t in TESTS:
n = t[len('tst/'):len(t)-len('.java')].replace('/', '.')
java_test(
name = n,
labels = ['lfs'],
srcs = [t],
deps = [
':helpers',
'//org.eclipse.jgit.junit:junit',
'//org.eclipse.jgit.lfs:jgit-lfs',
'//org.eclipse.jgit:jgit',
'//lib:hamcrest-core',
'//lib:hamcrest-library',
'//lib:junit',
],
source_under_test = ['//org.eclipse.jgit.lfs:jgit-lfs'],
)
java_library(
name = 'helpers',
srcs = glob(['src/**/*.java']),
deps = [
'//org.eclipse.jgit:jgit',
'//org.eclipse.jgit.lfs:jgit-lfs',
'//org.eclipse.jgit.junit:junit',
'//lib:junit',
],
visibility = ['PUBLIC']
)