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.
20 lines
439 B
20 lines
439 B
8 years ago
|
package(default_visibility = ['//visibility:public'])
|
||
|
|
||
|
genrule(
|
||
|
name = 'all',
|
||
|
srcs = [
|
||
|
'//org.eclipse.jgit:jgit',
|
||
|
'//org.eclipse.jgit.archive:jgit-archive',
|
||
|
'//org.eclipse.jgit.http.server:jgit-servlet',
|
||
|
'//org.eclipse.jgit.junit:junit',
|
||
|
],
|
||
|
cmd = ' && '.join([
|
||
|
'p=$$PWD',
|
||
|
't=$$(mktemp -d || mktemp -d -t bazel-tmp)',
|
||
|
'cp $(SRCS) $$t',
|
||
|
'cd $$t',
|
||
|
'zip -qr $$p/$@ .',
|
||
|
]),
|
||
|
outs = ['all.zip'],
|
||
|
)
|