Selaa lähdekoodia

Add snap support for ease of deployment

Will DeBerry 8 vuotta sitten
vanhempi
sitoutus
dfa7e7bab6
3 muutettua tiedostoa jossa 30 lisäystä ja 0 poistoa
  1. 4 0
      .gitignore
  2. 1 0
      snap/.gitignore
  3. 25 0
      snap/snapcraft.yaml

+ 4 - 0
.gitignore

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

+ 1 - 0
snap/.gitignore

@@ -0,0 +1 @@
+.snapcraft

+ 25 - 0
snap/snapcraft.yaml

@@ -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 it’s small, fast, and portable.
+
+grade: stable
+confinement: classic
+
+apps:
+  exa:
+    command: exa
+
+parts:
+  exa:
+    plugin: rust
+    source: .
+    stage-packages:
+      - libgit2-24
+      - cmake
+      - libz-dev