diff options
author | David Ostrovsky <david@ostrovsky.org> | 2016-02-14 11:36:25 +0100 |
---|---|---|
committer | David Ostrovsky <david@ostrovsky.org> | 2016-02-14 11:45:30 +0100 |
commit | 2d0fc6124d8b0602bb9c34c0f003c4dba555533e (patch) | |
tree | c6c56fbebfdd7b714ad98efe041e68dee35a5e93 /.buckconfig | |
parent | dcfcbfd8bfd1371dc6b6537a3c4dc23f1e9fbe14 (diff) | |
download | jgit-2d0fc6124d8b0602bb9c34c0f003c4dba555533e.tar.gz jgit-2d0fc6124d8b0602bb9c34c0f003c4dba555533e.zip |
Buck: Simplify root build file
Remove all proxy rules, that were introduced to allow to build Gerrit
with hijacked JGit cell. New approach suggested in: [1], that emulates
real JGit project structure in its own cell, makes them unnecessary.
Add :all rule, that build all artifacts and packages them in zip file.
Add shell binary :jgit_bin rule, that allows to execute JGit binary
from with buck run command, e.g.:
$ buck run jgit_bin status
$ buck run jgit_bin -- --version
* [1] https://gerrit-review.googlesource.com/74859
Change-Id: Idf9ecb783cbd2b9984d4118047968f1f5204d642
Signed-off-by: David Ostrovsky <david@ostrovsky.org>
Diffstat (limited to '.buckconfig')
-rw-r--r-- | .buckconfig | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/.buckconfig b/.buckconfig index b596049919..8d2572bfda 100644 --- a/.buckconfig +++ b/.buckconfig @@ -1,10 +1,11 @@ [alias] - jgit = //:jgit - jgit-servlet = //:jgit-servlet - jgit-archive = //:jgit-archive - jgit-lfs = //:jgit-lfs - jgit-lfs-server = //:jgit-lfs-server + all = //:all + jgit = //org.eclipse.jgit:jgit + jgit-archive = //org.eclipse.jgit.archive:jgit-archive jgit_bin = //:jgit_bin + jgit-lfs = //org.eclipse.jgit.lfs:jgit-lfs + jgit-lfs-server = //org.eclipse.jgit.lfs.server:jgit-lfs-server + jgit-servlet = //org.eclipse.jgit.http.server:jgit-servlet [buildfile] includes = //tools/default.defs |