Skip to main content

Requesting Build Outputs

Now we'll finally build some code.

By the end of this section, you'll be able to get desired outputs with bazel build and execute some application with bazel run for at least the language you picked.

If you weren't able to create working BUILD.bazel files in the previous section, you can skip ahead by checking out the packages branch, e.g. git reset --hard packages

Training Material

The rest of this section is only available as part of Aspect's Bazel Training course.

Sign up here: https://www.aspect.dev/services#training

The Action Cache

Try it: bazel build

Spawn Strategies

Checking in generated files

Try it: Running programs

Watch mode

Try it: A live devserver