forge build
Verify project builds locally before deploying.
Command
forge build [--no-verify] [--app <name>]
Arguments
None.
Flags
| Flag | Type | Default | Notes |
|---|---|---|---|
| bool | | Skip per-app build verification |
| string | — | Only verify one app from the config |
Examples
Build all apps:
forge build
Build single app:
forge build --app my-api
Skip verification:
forge build --no-verify
Errors
| Exit code | Meaning |
|---|---|
| 0 | Build succeeded |
| 1 | Build failed |
Pitfalls
- Non-deployable apps skipped — apps without a
intype
are automatically skipped.blueforge.config.json - Requires blueforge.config.json — run
first if no config exists.forge init
See also
{auto-injected}
Tested against
{auto-injected}