|
478.
|
|
|
In some trees it may be preferable to name the snapcraft YAML file
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../create/index.html
|
|
479.
|
|
|
Each stage of the tour is in a separate subdirectory, with number prefixes showing the sequence. In each directory you'll find a README with the instructions from this page relevant to that directory, so you don't need to continually switch between the browser and your terminal as you follow the tour.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../create/index.html
|
|
480.
|
|
|
/build/ Note that plugins might well define their own semantics for the 'source' keywords, because they handle specific build systems, and many languages have their own built-in packaging systems (think CPAN, PyPI, NPM). In those cases you want to refer to the help text for the specific plugin. snapcraft help
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../create/index.html
|
|
481.
|
|
|
$ more snapcraft.yaml name: hello version: "2.10" summary: GNU Hello, the "hello world" snap description: GNU hello prints a friendly greeting. This is part of the snapcraft tour at https://snapcraft.io/create/ confinement: strict apps: hello: command: hello parts: gnu-hello: plugin: autotools source: http://ftp.gnu.org/gnu/hello/hello-2.10.tar.gz
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../create/index.html
|
|
482.
|
|
|
structure: the directory layout of a snap
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../create/index.html
|
|
483.
|
|
|
Now, every time someone runs Snapcraft with the foo-stable part, they might get a different codebase from the previous person to build the same part, because the
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../create/index.html
|
|
484.
|
|
|
Here are the things you should be comfortable with, before you move on. A
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../create/index.html
|
|
485.
|
|
|
description for the snap. Take a look inside:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../create/index.html
|
|
486.
|
|
|
Edge is for your most recent changes, probably untested and with no guarantees attached
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../create/index.html
|
|
487.
|
|
|
) [--devel] snapcraft (-h | --help) snapcraft --version
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../create/index.html
|