diff options
author | Shawn Pearce <sop@google.com> | 2015-12-31 11:18:02 -0800 |
---|---|---|
committer | Shawn Pearce <sop@google.com> | 2015-12-31 17:18:50 -0800 |
commit | 34de70a5d42fc89275c9108351cf2e8154ff3322 (patch) | |
tree | a596a9eba25b883b2b19014c1cfb9210eae928ae /BUCK | |
parent | 13502fef8f4814c6c5bdfa63674c94f9d32b5531 (diff) | |
download | jgit-34de70a5d42fc89275c9108351cf2e8154ff3322.tar.gz jgit-34de70a5d42fc89275c9108351cf2e8154ff3322.zip |
buck: build standalone jgit binary
Construct the java_application JAR wrapped with the shell script
header. This is enough to clone a repository over HTTPs:
$ buck build :jgit_bin
$ buck-out/gen/jgit_bin/jgit_bin clone https://...
Change-Id: I4aceb4e77b2ec9be76a32ec93d94f2dafe9acce6
Diffstat (limited to 'BUCK')
-rw-r--r-- | BUCK | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -36,3 +36,9 @@ java_library( ], visibility = ['PUBLIC'], ) + +genrule( + name = 'jgit_bin', + cmd = 'ln -s $(location //org.eclipse.jgit.pgm:jgit) $OUT', + out = 'jgit_bin', +) |