Skip to content

michalbogacz/bazel-scala-sandbox

Repository files navigation

Sandbox project

Scala project build by Bazel

Formatting

Code should be formatted with

./tools/scalafmt

Formatting is tested in CI

Comment: Scalafmt is "goto" tool for formatting Scala code. Yet, included scalafmt in rules_scala is unnecessarily complicated. E.g. execution requires for all targets use <TARGET>.format which is hard to execute for all targets. That's why I decided to use standalone version of scalafmt.

Docker image

Build image

bazel run //src/main/scala/cmd:local_image

Run image

docker run --rm runner:latest

About

Scala and Bazel example project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published