diff options
author | Edward Hope-Morley <edward.hope-morley@canonical.com> | 2018-12-11 17:54:45 (GMT) |
---|---|---|
committer | Edward Hope-Morley <edward.hope-morley@canonical.com> | 2018-12-12 17:16:01 (GMT) |
commit | bd5869a5aa40e1fb17213ad6f8156d7de923e20a (patch) | |
tree | 5d5583d8b64737be8067eb9ae3cb6d6a78c23e18 /lib | |
parent | 16400fb79017b1b2dd86a4a864f65930fe8586a2 (diff) | |
download | lz4-bd5869a5aa40e1fb17213ad6f8156d7de923e20a.zip lz4-bd5869a5aa40e1fb17213ad6f8156d7de923e20a.tar.gz lz4-bd5869a5aa40e1fb17213ad6f8156d7de923e20a.tar.bz2 |
Add snap packaging support
This commit adds a snapcraft.yaml file to allow lz4
to be distributed as a snap (see https://snapcraft.io/
for more info on snaps).
Building the Snap
-----------------
To build the snap simply install snapcraft and build the
snap e.g. on Ubuntu by doing:
$ sudo apt install snapcraft
$ cd contrib; snapcraft
This will build a snap that can be published [1] to
e.g. https://snapcraft.io/lz4
If you want to test the snap before publishing you
can do:
$ snap install <snapname>.snap --dangerous
And that will install it on your local host. You
will then have lz4 as a command to run.
Installing the Snap
-------------------
Once published and released in the snapstore your snap
can be installed on any platform that supports snaps
by doing:
snap install lz4
[1] https://docs.snapcraft.io/releasing-to-the-snap-store
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions