Skip to content

Bazel/Go/Protobuf monorepo bootstrap proof of concept

License

Notifications You must be signed in to change notification settings

idlebot/monorepo

Repository files navigation

monorepo

Bazel/Go/Protobuf monorepo bootstrap proof of concept

Setup

These steps needs to be run only once.

Install Build Pre-requisites

Linux

sudo apt install python3-dev zip build-essential

Install asdf

asdf is a package manager that allows pinned tools versions. To install asdf follow the instructions on https://asdf-vm.com/guide/getting-started.html

Install Bazel and other tools

After installing asdf and restarting the shell, just run:

make install

Build

Although this is not necessary to build with Bazel, it helps to have the GOBIN directory in your PATH. In order to do that, just run:

source setenv

or

. setenv

Regular build

Runs Gazelle, bazel build and tests

make

Run all external tools

Runs Gazelle update dependendencies and a regular build

make all

Clean build

Clean bazel, and a full build

make clean-build

About

Bazel/Go/Protobuf monorepo bootstrap proof of concept

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published