Skip to content

nem catalog build

Build a catalog's build-from-source packages on the host platform.

Build a catalog's build-from-source packages on this machine's platform and stage the resulting archives; with --push, publish them into the catalog. Without --package, every buildable package is built at its latest version. --missing narrows the selection to versions and platforms whose archive is absent, which keeps re-runs cheap.

Usage

nem catalog build [catalog] [flags]

Examples

nem catalog build . --package openssl@3.6.1    # one version
nem catalog build . --missing --push            # fill gaps in the published archives
nem catalog build . --dry-run                   # show the plan and its waves

Flags

FlagDescription
--dry-runreport the plan without building
--forcewith --push, overwrite existing archives
--missingselect every version and platform of the selected packages whose archive is missing
--package <strings>build name[@version] (repeatable; omitted version means latest; default: every buildable package)
--pushpublish built archives into the catalog
--with-depsalso build every package's dependency whose archive is missing

Global flags

--color, --narration, --quiet, and --verbose apply to every command; see nem.

See also