summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore8
-rw-r--r--snapcraft.yaml15
2 files changed, 23 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index be83b91c..37c45afd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,11 @@ target
/ignore/Cargo.lock
/termcolor/Cargo.lock
/wincolor/Cargo.lock
+
+# Snapcraft files
+stage
+prime
+parts
+*.snap
+*.pyc
+ripgrep*_source.tar.bz2 \ No newline at end of file
diff --git a/snapcraft.yaml b/snapcraft.yaml
new file mode 100644
index 00000000..2d63a050
--- /dev/null
+++ b/snapcraft.yaml
@@ -0,0 +1,15 @@
+name: ripgrep # you probably want to 'snapcraft register <name>'
+version: '0.5.1' # just for humans, typically '1.2+git' or '1.3.2'
+summary: Fast file searcher # 79 char long summary
+description: |
+ ripgrep combines the usability of The Silver Searcher with the raw speed of grep.
+grade: stable # must be 'stable' to release into candidate/stable channels
+confinement: classic # use 'strict' once you have the right plugs and slots
+parts:
+ ripgrep:
+ plugin: rust
+ source: .
+apps:
+ rg:
+ command: env PATH=$SNAP/bin:$PATH rg
+ aliases: [rg] \ No newline at end of file