How to tell dump plugin to only copy a specific file

Jacek Nykis jacek.nykis at canonical.com
Tue Oct 4 08:43:59 UTC 2016


On 03/10/16 23:59, Omer Akram wrote:
> On Tue, Oct 4, 2016 at 3:53 AM, Sergio Schvezov <
> sergio.schvezov at canonical.com> wrote:
> 
>>
>>
>> El 03/10/16 a las 19:45, Omer Akram escribió:
>>
>>> 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 ?
>>>
>>
>> Use filesets, stage or prime, or both.
> 
> 
> Is there an example on how a filesets line may look like, a grep on the
> playpen repository does not seem to match filesets ?

https://git.launchpad.net/prometheus-snap/tree/snapcraft.yaml

Regards,
Jacek

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 299 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161004/23be3206/attachment.sig>


More information about the Snapcraft mailing list