How to tell dump plugin to only copy a specific file

Omer Akram omer.akram at canonical.com
Mon Oct 3 22:45:36 UTC 2016


Hi!

I have a very simple python application with a library part and a launcher.
The library is being compile by the `python` plugin and I am copying the
launcher with `dump` plugin. It works but it seems that the dump plugin
copies all the undesired files in the root of my project into the final
snap, I only want it to copy a single file. Is there a config that I can
tell the plugin to only copy that specific file ?

To workaround that I created a new directory only containing my launcher
and set it as source.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161004/5a9648d3/attachment.html>


More information about the Snapcraft mailing list