The dump plugin

This plugin just dumps the content from a specified source.

This plugin uses the common plugin keywords as well as those for ‘sources’.
For more information check the ‘plugins’ topic for the former and the
‘sources’ topic for the latter.

snapcraft help plugins
snapcraft help sources

In the cases where dumping the content needs some mangling or organizing
one would take advantage of the core functionalities available to plugins
such as: filesets, stage, snap and organize

For example:

    source: local-source/
    plugin: dump
      '*.png' : images/
      launch.wrapper: usr/bin/launcher
      - -README*

See common keywords for more information about these keywords.

For examples, search GitHub for projects already using the plugin.

This is a snapcraft plugin. See Snapcraft plugins and Supported plugins for further details on how plugins are used.

Last updated 21 hours ago. Help improve this document in the forum.