tweak global-grep tool

This commit is contained in:
B. Petersen 2020-04-16 22:49:01 +02:00
parent 16c5be5737
commit a51e0acbb9
No known key found for this signature in database
GPG key ID: 3B88E92DEA8E9AFC

View file

@ -8,10 +8,13 @@ if [ -z "$TEXT" ]; then
fi fi
echo "==================== ANDROID USAGE ====================" echo "==================== ANDROID USAGE ===================="
grep --exclude={*.apk,*.a,*.o,*.so,strings.xml} --exclude-dir={.git,.gradle,jni,obj,release,.idea,build,jni} -ri $TEXT . grep --exclude={*.apk,*.a,*.o,*.so,strings.xml} --exclude-dir={.git,.gradle,obj,release,.idea,build,deltachat-core-rust} -ri $TEXT .
echo "==================== IOS USAGE ====================" echo "==================== IOS USAGE ===================="
grep --exclude=*.strings --exclude-dir={.git,libraries,Pods,deltachat-ios.xcodeproj,deltachat-ios.xcworkspace} -ri $TEXT ../deltachat-ios/ grep --exclude=*.strings --exclude-dir={.git,libraries,Pods,deltachat-ios.xcodeproj,deltachat-ios.xcworkspace} -ri $TEXT ../deltachat-ios/
echo "==================== DESKTOP USAGE ====================" echo "==================== DESKTOP USAGE ===================="
grep --exclude-dir={.git,_locales} -ri $TEXT ../deltachat-desktop/ grep --exclude-dir={.git,_locales} -ri $TEXT ../deltachat-desktop/
echo "==================== NODE USAGE ===================="
grep --exclude-dir={.git} -ri $TEXT ../deltachat-node/