<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 20, 2017 at 5:55 PM, Kyle Fazzari <span dir="ltr"><<a href="mailto:kyle.fazzari@canonical.com" target="_blank">kyle.fazzari@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><span class="gmail-"><div class="gmail_extra" dir="auto"><div class="gmail_quote"><br></div></div></span><div dir="auto">- 'prepare' runs before build</div><div dir="auto">- 'build' replaces plugin build (including install)</div><div dir="auto">- 'install' runs after build. This is useful e.g. for a Makefile with no installation targets, or copying over some config files after the plugin does its thing.</div></div></blockquote><div><br></div><div>I had a case where I wanted to run something before stage-packages were pulled; I worked around the lack of hooks before stage-packages by using a separate part; see:</div><div><a href="https://github.com/lool/quortus-epc-snap/blob/master/snap/snapcraft.yaml#L23">https://github.com/lool/quortus-epc-snap/blob/master/snap/snapcraft.yaml#L23</a><br></div><div><br></div><div>I dont know how common this is, thought I'd mention it<br></div><div></div></div> <div class="gmail_extra"><br></div><div class="gmail_signature"><div dir="ltr">- Loïc</div></div>
</div></div>