build¶
Build artifacts defined for a part. If part names are specified only those parts will be built, otherwise all parts will be built.
Usage¶
snapcraft build [options] <part-name>
Required¶
part-nameOptional list of parts to process.
Options¶
--build-forSet architecture to build for.
--debugShell into the environment if the build fails.
--destructive-modeBuild in the current host.
--platformSet platform to build for.
--shellShell into the environment in lieu of the step to run.
--shell-afterShell into the environment after the step has run.
--use-lxdBuild in a LXD container.
Global options¶
-hor--helpShow this help message and exit.
-qor--quietOnly show warnings and errors, not progress.
-vor--verboseShow debug information and be more verbose.
--verbositySet the verbosity level to ‘quiet’, ‘brief’, ‘verbose’, ‘debug’ or ‘trace’.
-Vor--versionShow the application version and exit.