Bazel/Go/Protobuf monorepo bootstrap proof of concept
These steps needs to be run only once.
Linux
sudo apt install python3-dev zip build-essential
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
After installing asdf and restarting the shell, just run:
make install
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
Runs Gazelle, bazel build and tests
make
Runs Gazelle update dependendencies and a regular build
make all
Clean bazel, and a full build
make clean-build