纯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.
 
 
 
 

34 lines
1.0 KiB

TEST_BASE = ['tst/org/eclipse/jgit/lfs/server/fs/LfsServerTest.java']
TESTS = glob(['tst/**/*.java'],
excludes = TEST_BASE
)
for t in TESTS:
n = t[len('tst/'):len(t)-len('.java')].replace('/', '.')
java_test(
name = n,
labels = ['lfs-server'],
srcs = [t] + TEST_BASE,
deps = [
'//org.eclipse.jgit.lfs.test:helpers',
'//org.eclipse.jgit:jgit',
'//org.eclipse.jgit.junit:junit',
'//org.eclipse.jgit.junit.http:junit-http',
'//org.eclipse.jgit.lfs:jgit-lfs',
'//org.eclipse.jgit.lfs.server:jgit-lfs-server',
'//lib:hamcrest-core',
'//lib:hamcrest-library',
'//lib:httpcore',
'//lib:httpcomponents',
'//lib:junit',
'//lib/jetty:http',
'//lib/jetty:io',
'//lib/jetty:server',
'//lib/jetty:servlet',
'//lib/jetty:security',
'//lib/jetty:util',
'//lib:servlet-api',
],
source_under_test = ['//org.eclipse.jgit.lfs.server:jgit-lfs-server'],
vm_args = ['-Xmx256m', '-Dfile.encoding=UTF-8'],
)