| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This works well enough for basic testing, especially the "jgit daemon"
command:
$ bazel build org.eclipse.jgit.pgm:jgit
INFO: Analysed target //org.eclipse.jgit.pgm:jgit (39 packages loaded).
INFO: Found 1 target...
Target //org.eclipse.jgit.pgm:jgit up-to-date:
bazel-bin/org.eclipse.jgit.pgm/jgit.jar
bazel-bin/org.eclipse.jgit.pgm/jgit
INFO: Elapsed time: 15.862s, Critical Path: 14.74s
INFO: 42 processes: 32 linux-sandbox, 1 local, 9 worker.
INFO: Build completed successfully, 60 total actions
$ bazel-bin/org.eclipse.jgit.pgm/jgit rev-list HEAD^..HEAD 2>/dev/null
e5ed926e02dd29b5e970d421b63b6921cc1800f5
Still to do:
- suppress "Failed to load class "org.slf4j.impl.StaticLoggerBinder"
output
- add org.eclipse.jgit.pgm.test tests to bazel build
- supply package information so that "jgit version" can work
Change-Id: Ie89872839fa5aae974d5d39b6776b96332b0e83f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Generating the src list with an unrestricted wildcard causes all
files in the source tree to be included. This results in junk files
such as .orig (generated during merge conflict resolution) to be
included, which causes in a build error:
in srcs attribute of java_library rule //org.eclipse.jgit:jgit:
file '//org.eclipse.jgit:src/org/eclipse/jgit/gitrepo/RepoCommand.java.orig'
is misplaced here (expected .java, .srcjar or .properties).
Modify the globs to only include Java source files.
Change-Id: Iaef3db33ac71d71047cd28acb0378e15cb09ece9
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
|
|
Add bazel build for ui and junit.http, and the test packages.
A number of different test labels are supported:
api
attributes
dfs
diff
http
lfs
lfs-server
nls
notes
pack
patch
pgm
reftree
revplot
revwalk
storage
submodule
symlinks
transport
treewalk
util
To run all tests:
bazel test //...
To run specific tests, using labels:
bazel test --test_tag_filters=api,dfs,revplot,treewalk //...
Change-Id: Ic41b05a79d855212e67b1b4707e9c6b4dc9ea70d
Signed-off-by: David Ostrovsky <david@ostrovsky.org>
Signed-off-by: Jonathan Nieder <jrn@google.com>
|