Implement bazel build

The implemented Bazel build is 100% compatible to Buck build.

Test Plan:

  $ bazel build :all
  $ VERBOSE=1 ./mvn.sh install
  $ VERBOSE=1 ./mvn.sh deploy

Bug: Issue 5336
Change-Id: I13e0f78570e4063e8b4f8d13deff328c682eefef
6 files changed
tree: 287a8de6cc9d9043c34d42841c364676befc4136
  1. .settings/
  2. bin/
  3. examples/
  4. java/
  5. src/
  6. .buckconfig
  7. .classpath
  8. .gitignore
  9. .gitmodules
  10. .mailmap
  11. .project
  12. bazlets.bzl
  13. bootstrap.defs
  14. BUCK
  15. BUILD
  16. fake_pom_deploy.xml
  17. fake_pom_install.xml
  18. LICENSE
  19. LICENSE.EPL
  20. LICENSE.GPL
  21. mvn.sh
  22. prolog.bzl
  23. README.md
  24. WORKSPACE
README.md

Prolog Cafe

A fork of Mutsunori BANBARA‘s PrologCafe to support Gerrit Code Review’s customizable project rules.

Build

To bootstrap Buck and SWI-Prolog >= 6.6.4 must be installed and then build the runtime and compiler with:

buck build all

To package for Maven into the local ~/.m2/repository directory:

buck build install

To publish to the gerrit-maven storage bucket:

buck build deploy