build(linux): use vscode's ripgrep (#1205)
This commit is contained in:
parent
98bac0c1eb
commit
bfdaf23c6d
2 changed files with 1 additions and 2 deletions
|
@ -35,7 +35,6 @@
|
|||
- dpkg
|
||||
- python3
|
||||
- imagemagick (for AppImage)
|
||||
- ripgrep
|
||||
|
||||
### <a id="dependencies-macos"></a>MacOS
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ d1=`date +%s`
|
|||
|
||||
if [[ "${OS_NAME}" == "linux" ]]; then
|
||||
if [[ ${VSCODE_ARCH} == "x64" ]]; then
|
||||
rg --no-ignore -l "${SEARCH}" . | xargs -I {} bash -c 'replace_with_debug "${1}" "{}"' _ "${REPLACEMENT}"
|
||||
./node_modules/@vscode/ripgrep/bin/rg --no-ignore -l "${SEARCH}" . | xargs -I {} bash -c 'replace_with_debug "${1}" "{}"' _ "${REPLACEMENT}"
|
||||
else
|
||||
grep -rl --exclude-dir=.git -E "${SEARCH}" . | xargs -I {} bash -c 'replace_with_debug "${1}" "{}"' _ "${REPLACEMENT}"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue