xref: /JGit/BUILD (revision e92a0c3adc7035e5188194e145b8cd010887b569)
1*e92a0c3aSDavid Ostrovskypackage(default_visibility = ['//visibility:public'])
2*e92a0c3aSDavid Ostrovsky
3*e92a0c3aSDavid Ostrovskygenrule(
4*e92a0c3aSDavid Ostrovsky  name = 'all',
5*e92a0c3aSDavid Ostrovsky  srcs = [
6*e92a0c3aSDavid Ostrovsky    '//org.eclipse.jgit:jgit',
7*e92a0c3aSDavid Ostrovsky    '//org.eclipse.jgit.archive:jgit-archive',
8*e92a0c3aSDavid Ostrovsky    '//org.eclipse.jgit.http.server:jgit-servlet',
9*e92a0c3aSDavid Ostrovsky    '//org.eclipse.jgit.junit:junit',
10*e92a0c3aSDavid Ostrovsky  ],
11*e92a0c3aSDavid Ostrovsky  cmd = ' && '.join([
12*e92a0c3aSDavid Ostrovsky    'p=$$PWD',
13*e92a0c3aSDavid Ostrovsky    't=$$(mktemp -d || mktemp -d -t bazel-tmp)',
14*e92a0c3aSDavid Ostrovsky    'cp $(SRCS) $$t',
15*e92a0c3aSDavid Ostrovsky    'cd $$t',
16*e92a0c3aSDavid Ostrovsky    'zip -qr $$p/$@ .',
17*e92a0c3aSDavid Ostrovsky  ]),
18*e92a0c3aSDavid Ostrovsky  outs = ['all.zip'],
19*e92a0c3aSDavid Ostrovsky)
20