Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 955 Bytes

File metadata and controls

54 lines (35 loc) · 955 Bytes

Development

Doc

We build with bazel:

"Fat-Jar":

Run Tests

bazel test :tests

Use Bazel Watcher for tests: https://github.com/bazelbuild/bazel-watcher

Install

cd ~/git
git clone https://github.com/bazelbuild/bazel-watcher.git
cd bazel-watcher
bazel build //ibazel

# Add to .bash_profile
echo 'export PATH="$PATH:$HOME/git/bazel-watcher/bazel-bin/ibazel/darwin_amd64_pure_stripped/"' >> ~/.bash_profile

Test with watcher

ibazel test :tests

Build

# JAR / BINARY
bazel build //:java-xml-grepper

./bazel-bin/java-xml-grepper


# FAT JAR
bazel build //:java-xml-grepper_deploy.jar

java -jar bazel-bin/java-xml-grepper_deploy.jar