CLI Commands
build
Build packages and return outputs
Build Command
The build
command runs the build function for a specified package and returns the set of outputs generated through the build process. This is an offline command that allows you to test your build logic locally before committing changes.
Usage
Description
The build command uses the local state of your repository, including any uncommitted changes, to build the specified package. This allows you to test and validate your build logic without affecting the server state. The results of the build will not be stored on the Ocuroot server.
Examples
Flags
--format
: Specify the output format (optional)
Output
The command returns the build outputs generated during the build process. These outputs can include:
- Build artifacts
- Build metadata
- Any errors or warnings encountered during the build
Related Commands
deploy
: Deploy a built package to an environmentreview
: Run review functions for modified files