pro tip: use scriptlets instead of custom plugins

Leo Arias leo.arias at canonical.com
Thu Feb 16 23:11:13 UTC 2017


Hello!

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:

5 additions and 144 deletions

https://github.com/elopio/ipfs-snap/commit/06f32696c1b461b1068e803e71e22bad50fe52eb

Here is more info:
https://insights.ubuntu.com/2017/02/02/run-scripts-during-snapcraft-builds-with-scriptlets/

pura vida.
-- 
¡paz y baile!
http://www.ubuntu.com




More information about the Snapcraft mailing list