This repo is organized by folder with isolated standalone examples, each of which has its own README. There is intentionally no WORKSPACE file in the root directory.
Pre-requisite: Install Bazelisk, e.g. using go install github.com/bazelbuild/bazelisk@latest (or e.g. with eget, or however else you prefer), and alias b it. All other required tools for building and testig will then be automatically downloaded as needed.
./test will build and test everything. It's incremental, and should run (very) fast the 2nd time you launch it.
LearningBazelJavaVSC is a more Java/VSC specific repo.
- https://bazel.build/external/faq#how-do-i-prepare-and-run-an-offline-build
- https://bazel.build/run/build#fetching-external-dependencies
bazel fetch --platforms=@platforms//linux- but it's slow, as even that still grabs (at least some)windowsandmacosbazel fetch //...bazelisk fetch --repo @enola_mavenbazelisk test --nofetch --fetch=false //...- bazelbuild/bazel#18934
- grpc/grpc-java#12189