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])
This is the local x-dump plugin, which does nothing on clean. This is the full plugin:
class DumpPlugin( snapcraft. BasePlugin) :
def schema(cls):
schema = super().schema()
return schema
def build(self):
super( ).build( )
self. run(['cp' , '-a', '.', self.installdir])