From 34de70a5d42fc89275c9108351cf2e8154ff3322 Mon Sep 17 00:00:00 2001 From: Shawn Pearce Date: Thu, 31 Dec 2015 11:18:02 -0800 Subject: 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 --- BUCK | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'BUCK') diff --git a/BUCK b/BUCK index 7704281ecf..fca0e8a7f4 100644 --- a/BUCK +++ b/BUCK @@ -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', +) -- cgit v1.2.3