]> source.dussan.org Git - jgit.git/commit
Implement initial framework of Bazel build 27/84527/10
authorDavid Ostrovsky <david@ostrovsky.org>
Sun, 6 Nov 2016 08:06:54 +0000 (09:06 +0100)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Wed, 18 Jan 2017 23:13:16 +0000 (19:13 -0400)
commite92a0c3adc7035e5188194e145b8cd010887b569
treeecce3f7fbb5db1d637bf855bd3f42826f806609b
parentb667c182cbaf56fd4382362f042062343bac0856
Implement initial framework of Bazel build

The initial implementation only builds the packages consumed by
Gerrit Code Review.

Test build and execution is not implemented.

We prefer to consume maven_jar custom rule from bazlets repository,
for the same reasons as in the Gerrit project:

* Caching artifacts across different clones and projects
* Exposing source classifiers and neverlink artifact

TEST PLAN:

  $ bazel build :all
  $ unzip -t bazel-genfiles/all.zip
  Archive: bazel-genfiles/all.zip
    testing: libjgit-archive.jar      OK
    testing: libjgit-servlet.jar      OK
    testing: libjgit.jar              OK
    testing: libjunit.jar             OK
  No errors detected in compressed data of bazel-genfiles/all.zip.

Change-Id: Ia837ce95d9829fe2515f37b7a04a71a4598672a0
Signed-off-by: David Ostrovsky <david@ostrovsky.org>
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
.gitignore
BUILD [new file with mode: 0644]
WORKSPACE [new file with mode: 0644]
org.eclipse.jgit.archive/BUILD [new file with mode: 0644]
org.eclipse.jgit.http.server/BUILD [new file with mode: 0644]
org.eclipse.jgit.junit/BUILD [new file with mode: 0644]
org.eclipse.jgit/BUILD [new file with mode: 0644]
tools/BUILD [new file with mode: 0644]
tools/bazlets.bzl [new file with mode: 0644]