0.Prerequisite

Tools

  • Linter: Validates SBUILD scripts

  • Runner: Executes validated SBUILD scripts

  • SBUILDER: Combined linter + runner (used by soar build)

Field Types

  • ENFORCED: Required field

  • NON_ENFORCED: Optional field

  • RECOMMENDED: Optional but encouraged

Directories

  • $SBUILD_OUTDIR: Working directory for the build

  • $SBUILD_TMPDIR: Temp directory inside SBUILD_OUTDIR ($SBUILD_OUTDIR/SBUILD_TEMP)

Script Blocks

  • x_exec.pkgver: Shell commands to fetch version

  • x_exec.run: Shell commands to build/download the package

Validate your SBUILD with yamllint and x_exec.run with shellcheck.

Last updated

Was this helpful?