This project explores the Bazel build system. It includes a simple script on how to create an Intellij module and example binaries in python/java/scala/c++ for the Fibonacci sequence.
Below are examples of how to build and run the Fib function in Java, Scala and Python. I put the function in a new folder to make the build structure a bit more interesting.
>> bazel build //src/main/java/engine:bin
>> bazel-bin/src/main/java/engine/bin
Fib(10)=55
>> bazel build //src/main/scala/engine:bin
>> bazel-bin/src/main/scala/engine/bin
Fib(10)=55
>> bazel build //src/main/python/engine:bin
>> bazel-bin/src/main/python/engine/bin
Fib(10)=55
>> bazel build //src/main/cpp/engine:bin
>> bazel-bin/src/main/cpp/engine/bin
Fib(10)=55
>> bazel build //src/main/c/engine:bin
>> bazel-bin/src/main/c/engine/bin
Fib(10)=55
>> bazel build //src/main/rust/engine:bin
>> bazel-bin/src/main/rust/engine/bin
Fib(10)=55