On 05/18/2016 10:24 AM, Gustavo Niemeyer wrote:
> 
> I'm probably misunderstanding. Are you saying that the behavior of
> "snapcraft snap <directory>" is completely different from the behavior
> of "cd <directory>; snapcraft snap"?

Yes, you understand correctly. `snapcraft snap` (or just `snapcraft`)
will look for a `snapcraft.yaml` and go through snapcraft's lifecycle of
pull, build, stage, strip, and snap. Whereas `snapcraft snap
<directory>` is the new `snappy build`, where it just snaps up the
directory provided. This is used for OS snaps and other situations where
one wants to write the `snap.yaml` and other metadata by hand.

--
Kyle Fazzari (kyrofa)
Software Engineer
Canonical Ltd.
k...@canonical.com

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
snappy-devel mailing list
snappy-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snappy-devel

Reply via email to