summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.pgm
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2017-02-09 15:13:01 +0900
committerMatthias Sohn <matthias.sohn@sap.com>2017-03-22 01:41:21 +0100
commit2d0ce094b487c6663f47d0e0fb4e36b9132e8ae6 (patch)
tree32effa6c9171579d3935c4e1fd1269779341658d /org.eclipse.jgit.pgm
parent0f6ddb372bc24a010c85849dfc80f72fc8cd604d (diff)
downloadjgit-2d0ce094b487c6663f47d0e0fb4e36b9132e8ae6.tar.gz
jgit-2d0ce094b487c6663f47d0e0fb4e36b9132e8ae6.zip
Remove Buck build
Buck will be replaced with Bazel Change-Id: I3cf07d7aaaa2a58bac34e16c50af5416693254ac Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.pgm')
-rw-r--r--org.eclipse.jgit.pgm/BUCK81
1 files changed, 0 insertions, 81 deletions
diff --git a/org.eclipse.jgit.pgm/BUCK b/org.eclipse.jgit.pgm/BUCK
deleted file mode 100644
index 5d5e6f7095..0000000000
--- a/org.eclipse.jgit.pgm/BUCK
+++ /dev/null
@@ -1,81 +0,0 @@
-include_defs('//tools/git.defs')
-
-java_library(
- name = 'pgm',
- srcs = glob(['src/**']),
- resources = glob(['resources/**']),
- deps = [
- ':services',
- '//org.eclipse.jgit:jgit',
- '//org.eclipse.jgit.archive:jgit-archive',
- '//org.eclipse.jgit.http.apache:http-apache',
- '//org.eclipse.jgit.lfs:jgit-lfs',
- '//org.eclipse.jgit.lfs.server:jgit-lfs-server',
- '//org.eclipse.jgit.ui:ui',
- '//lib:args4j',
- '//lib:httpcomponents',
- '//lib:httpcore',
- '//lib/jetty:http',
- '//lib/jetty:io',
- '//lib/jetty:server',
- '//lib/jetty:servlet',
- '//lib/jetty:security',
- '//lib/jetty:util',
- '//lib:servlet-api'
- ],
- visibility = ['PUBLIC'],
-)
-
-prebuilt_jar(
- name = 'services',
- binary_jar = ':services__jar',
-)
-
-genrule(
- name = 'services__jar',
- cmd = 'cd $SRCDIR ; zip -qr $OUT .',
- srcs = glob(['META-INF/services/*']),
- out = 'services.jar',
-)
-
-genrule(
- name = 'jgit',
- cmd = ''.join([
- 'mkdir $TMP/META-INF &&',
- 'cp $(location :binary_manifest) $TMP/META-INF/MANIFEST.MF &&',
- 'cp $(location :jgit_jar) $TMP/jgit.jar &&',
- 'cd $TMP && zip $TMP/jgit.jar META-INF/MANIFEST.MF &&',
- 'cat $SRCDIR/jgit.sh $TMP/jgit.jar >$OUT &&',
- 'chmod a+x $OUT',
- ]),
- srcs = ['jgit.sh'],
- out = 'jgit',
- visibility = ['PUBLIC'],
-)
-
-java_binary(
- name = 'jgit_jar',
- deps = [
- ':pgm',
- '//lib:slf4j-simple',
- '//lib:tukaani-xz',
- ],
- blacklist = [
- 'META-INF/DEPENDENCIES',
- 'META-INF/maven/.*',
- ],
-)
-
-genrule(
- name = 'binary_manifest',
- cmd = ';'.join(['echo "%s: %s" >>$OUT' % e for e in [
- ('Manifest-Version', '1.0'),
- ('Main-Class', 'org.eclipse.jgit.pgm.Main'),
- ('Bundle-Version', git_version()),
- ('Implementation-Title', 'JGit Command Line Interface'),
- ('Implementation-Vendor', 'Eclipse.org - JGit'),
- ('Implementation-Vendor-URL', 'http://www.eclipse.org/jgit/'),
- ('Implementation-Vendor-Id', 'org.eclipse.jgit'),
- ]] + ['echo >>$OUT']),
- out = 'MANIFEST.MF',
-)