Skip to content

setoelkahfi/tower-of-bazel

Repository files navigation

tower-of-bazel

{fast, correct} + {polyglot} = {tower of bazel}

This simple repo demonstrates how to set up a multi-language monorepo.

Before running it

This project is using git LFS. After cloning it, remember to run the following commands.

git lfs install
git lfs pull

How to use

Main folder structure is to follow backend / frontent convention. If you're new to Bazel, read the documentation. Otherwise, query all targets in a given platform:

bazel query //backend/...
bazel query //frontend/...

Tauri

Run debug Tauri app:

bazel run //frontend/desktop:dev

Apple

Generate Xcode project:

bazel run //frontend/apple:xcodeproj

Rails

Ruby on rails app:

bazel run //backend/app:rails

Android

bazel mobile-install //frontend/android/src/main:app --start_app

Credits