pro tip: use scriptlets instead of custom plugins

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Thu Feb 16 23:57:06 UTC 2017


On 17/02/17 00:11, Leo Arias wrote:
> This week I've been cleaning a few of my old snaps, using some of the
> new features in more recent versions of snapcraft. At first I wasn't
> convinced about scriptlets, but now I think they are great. Take a
> look at this diff:

Thanks so much for that tip -- the announcement of that feature had passed me 
by, but I was able to similarly greatly simplify a snap package that had also 
previously required a custom plugin:
https://github.com/WebDrake/dub.snap/pull/5





More information about the Snapcraft mailing list