From 13502fef8f4814c6c5bdfa63674c94f9d32b5531 Mon Sep 17 00:00:00 2001 From: David Ostrovsky Date: Fri, 4 Dec 2015 08:27:57 +0100 Subject: Implement Buck driven build Today there are plenty of modern build tool systems available in the wild (in no particular order): * http://bazel.io * https://pantsbuild.github.io * http://shakebuild.com * https://ninja-build.org * https://buckbuild.com The attributes, that all these build tools have in common, are: * reliable * correct * very fast * reproducible It must not always be the other build tool, this project is currently using. Or, quoting Gerrit Code Review maintainer here: "Friends, don't let friends use !" This change is non-complete implementation of JGit build in Buck, needed by Gerrit Code Review to replace its dependency with standlone JGit cell. This is very useful when a developer is working on both projects and is trying to integrate changes made in JGit in Gerrit. The supported workflow is: $ cd jgit $ emacs $ cd ../gerrit $ buck build --config repositories.jgit=../jgit gerrit With --config repositories.jgit=../jgit jgit cell is routed through JGit development tree. To build jgit, issue: $ buck build //:jgit [-] PROCESSING BUCK FILES...FINISHED 0,0s Yes, you can't measure no-op build time, given that Buck daemon is used. Change-Id: I301a71b19fba35a5093d8cc64d4ba970c2877a44 Signed-off-by: David Ostrovsky --- org.eclipse.jgit.archive/BUCK | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 org.eclipse.jgit.archive/BUCK (limited to 'org.eclipse.jgit.archive/BUCK') diff --git a/org.eclipse.jgit.archive/BUCK b/org.eclipse.jgit.archive/BUCK new file mode 100644 index 0000000000..ae170324e3 --- /dev/null +++ b/org.eclipse.jgit.archive/BUCK @@ -0,0 +1,13 @@ +java_library( + name = 'jgit-archive', + srcs = glob( + ['src/**'], + excludes = ['src/org/eclipse/jgit/archive/FormatActivator.java'], + ), + resources = glob(['resources/**']), + provided_deps = [ + '//org.eclipse.jgit:jgit', + '//lib:commons-compress', + ], + visibility = ['PUBLIC'], +) -- cgit v1.2.3