1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-04-02 20:45:38 +02:00

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
This commit is contained in:
Mateusz Mikuła 2018-07-21 19:28:27 +02:00 committed by Andrew Gallant
parent aa2ce39d14
commit 470afa1bd7

View File

@ -11,4 +11,5 @@ parts:
source: .
apps:
rg:
command: env PATH=$SNAP/bin:$PATH rg
adapter: none
command: ./bin/rg