mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 01:39:18 +02:00
adapt ./scripts/grep-strings.sh to updated repos
This commit is contained in:
parent
d290d022bf
commit
24b7a4fed8
1 changed files with 8 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
||||||
TEXT=$1
|
TEXT=$1
|
||||||
|
|
||||||
if [ -z "$TEXT" ]; then
|
if [ -z "$TEXT" ]; then
|
||||||
echo "this script searches for the string key given as the first parameter."
|
echo "search for a given string key in this repo"
|
||||||
echo "search is done in this repo and in ../deltachat-ios and in ../deltachat-desktop."
|
echo "and in ../deltachat-ios, ../deltachat-desktop, ../deltachat-core-rust/deltachat-jsonrpc, ../deltatouch"
|
||||||
echo "usage: ./scripts/grep-string.sh <STRING-KEY>"
|
echo "usage: ./scripts/grep-string.sh <STRING-KEY>"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
@ -16,5 +16,9 @@ grep --exclude=*.strings --exclude-dir={.git,libraries,Pods,deltachat-ios.xcodep
|
||||||
echo "==================== DESKTOP USAGE ===================="
|
echo "==================== DESKTOP USAGE ===================="
|
||||||
grep --exclude-dir={.cache,.git,html-dist,node_modules,_locales} -ri $TEXT ../deltachat-desktop/
|
grep --exclude-dir={.cache,.git,html-dist,node_modules,_locales} -ri $TEXT ../deltachat-desktop/
|
||||||
|
|
||||||
echo "==================== NODE USAGE ===================="
|
echo "==================== JSONRPC USAGE ===================="
|
||||||
grep --exclude-dir={.git} -ri $TEXT ../deltachat-core-rust/node
|
grep --exclude-dir={.git} -ri $TEXT ../deltachat-core-rust/deltachat-jsonrpc
|
||||||
|
|
||||||
|
echo "==================== UBUNTU TOUCH USAGE ===================="
|
||||||
|
grep --exclude-dir={.git} -ri $TEXT ../deltatouch/
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue