mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2024-12-12 19:18:24 +02:00
20f7d9b3a2
[Snapcraft](https://snapcraft.io/) makes Linux packaging very simple in a cross-distro way. This adds the snapcraft.yaml file to setup a snap of ripgrep
15 lines
552 B
YAML
15 lines
552 B
YAML
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] |