diff options
author | Mateusz MikuĊa <mati865@users.noreply.github.com> | 2018-07-21 19:28:27 +0200 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2018-07-21 13:28:27 -0400 |
commit | 470afa1bd7cc72d983cf4ab6134590e3af9e097c (patch) | |
tree | fb6f1982137594a1df87ce6fafcdf34fd6501f99 /snapcraft.yaml | |
parent | aa2ce39d14e4493c2389ef0bc9f65597cb8b120c (diff) |
snap: build without wrappers
Wrappers usually define things required for snaps to work like library path.
Ripgrep being static binary doesn't need it at all.
This will give minor speed up in scenarios when ripgrep is ran multiple
times and can be considered as good practice for static binaries.
PR #979
Diffstat (limited to 'snapcraft.yaml')
-rw-r--r-- | snapcraft.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml index c83fb477..52f4c7ba 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -11,4 +11,5 @@ parts: source: . apps: rg: - command: env PATH=$SNAP/bin:$PATH rg + adapter: none + command: ./bin/rg |