From 470afa1bd7cc72d983cf4ab6134590e3af9e097c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Miku=C5=82a?= Date: Sat, 21 Jul 2018 19:28:27 +0200 Subject: [PATCH] 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 --- snapcraft.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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