Skip to content

scode/bazelplay

Repository files navigation

bazelplay

Bazel playground. Meant to be used with bazelisk for a consistent bazel version.

Things to try

bazelisk build //...
bazelisk build //src/java/org/scode/bazelplay:hello_deploy.jar &&
  java -jar bazel-bin/src/java/org/scode/bazelplay/hello_deploy.jar
bazelisk run //src/java/org/scode/bazelplay:hello
bazelisk run //src/python/scode:hello
bazelisk build --build_python_zip //src/python/scode:hello &&
  bazel-bin/src/python/scode/hello
bazelisk test //...

Caveats

  • The build relies on a locally provided JDK. I'm not sure how to avoid that at the time of this writing, but if you run into this issue you most likely need to set JAVA_HOME.
    • On macOS, with openjdk installed through homebrew, try JAVA_HOME=/usr/local/opt/openjdk/libexec/openjdk.jdk/Contents/Home.

About

Bazel playground

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published