Skip to content

Build Commands

Overview

Build commands compile and package modules in the repository. They handle dependency resolution, incremental builds, and cross-platform compilation.

Key Characteristics:

  • Dependency-aware build ordering
  • Incremental build support
  • Multi-language support (Go, TypeScript, Docker)
  • Parallel execution by default

When to use: When compiling modules, preparing releases, or verifying that code changes compile correctly.

All Build Commands

Command Description
build Build one or more modules by moniker

Common Workflows

Building During Development

# Build all modules
r2r eac build

# Build specific module
r2r eac build eac-commands

# Build multiple modules
r2r eac build eac-core r2r-cli

Building with Dependencies

# Build module and its dependencies
r2r eac build r2r-cli
# Automatically builds: eac-core → eac-commands → r2r-cli

CI/CD Integration

# Build all modules in CI
r2r eac build

# Build changed modules only
r2r eac build $(r2r eac get changed-modules | jq -r '.changed_modules[]')

See Also


Tutorials | How-to Guides | Explanation | Reference

You are here: Reference — information-oriented technical descriptions of the system.