pack¶
Process parts and create a snap file containing the project payload with the provided metadata. If a directory is specified, pack its contents instead.
Usage¶
snapcraft pack [options] <directory>
Required¶
directoryDirectory to pack.
Options¶
--build-forSet architecture to build for.
--debugShell into the environment if the build fails.
--destructive-modeBuild in the current host.
--outputor-oOutput directory for created packages.
--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.