Add snap support for ease of deployment

This commit is contained in:
Will DeBerry 2017-08-03 22:41:37 -04:00
parent e45e515805
commit dfa7e7bab6
3 changed files with 30 additions and 0 deletions

4
.gitignore vendored
View File

@ -1,4 +1,8 @@
parts
prime
stage
target target
.vagrant .vagrant
ubuntu-xenial-16.04-cloudimg-console.log ubuntu-xenial-16.04-cloudimg-console.log
*.snap

1
snap/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.snapcraft

25
snap/snapcraft.yaml Normal file
View File

@ -0,0 +1,25 @@
name: exa
version: 'latest'
summary: Replacement for 'ls' written in Rust
description: |
It uses colours for information by default, helping you distinguish between
many types of files, such as whether you are the owner, or in the owning
group. It also has extra features not present in the original ls, such as
viewing the Git status for a directory, or recursing into directories with a
tree view. exa is written in Rust, so its small, fast, and portable.
grade: stable
confinement: classic
apps:
exa:
command: exa
parts:
exa:
plugin: rust
source: .
stage-packages:
- libgit2-24
- cmake
- libz-dev