Comment 13 for bug 1582469

Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

This is the local x-dump plugin, which does nothing on clean. This is the full plugin:

    class DumpPlugin(snapcraft.BasePlugin):

        @classmethod
        def schema(cls):
            schema = super().schema()
            return schema

        def build(self):
            super().build()
            self.run(['cp', '-a', '.', self.installdir])