File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -90,17 +90,18 @@ Use ``build-packages`` to specify system packages that are required to
9090build a part and are not included in the resulting snap.
9191
9292These packages are installed in the build environment before the part's
93- build step runs.
93+ build step runs. For example:
9494
95- Example::
96-
97- parts:
98- my-part:
99- plugin: make
100- source: .
101- build-packages:
102- - gcc
103- - make
95+ .. code-block :: yaml
96+ :caption : Parts definition in snapcraft.yaml
97+
98+ parts :
99+ my-part :
100+ plugin : make
101+ source : .
102+ build-packages :
103+ - gcc
104+ - libyaml-dev
104105
105106 Packages listed under ``build-packages `` are available only during the
106107build phase and are not included in the resulting snap. If a package is
You can’t perform that action at this time.
0 commit comments