Skip to main content
Version: latest

sdf build

The sdf build uses a sdf-package.yaml file to detect the structure of a project previously generated with sdf generate and then build it.

sdf build command

The build command has the following hierarchy:

$ sdf build -h
Build package (requires: sdf-package.yaml)

Usage: sdf build [OPTIONS]

Options:
--dev set runtime to use dev mode [env: DEV=]
--build-profile <BUILD_PROFILE> set the build profile [default: release]
-h, --help Print help

Where:

  • --dev development profile to be used for runtime mode
  • --build-profile - sets the build profile [debug, optimized, release]

Examples

sdf build

In case of success, the build command is silent:

$ sdf build