Detect paths without lunch.

Test: manual
Bug: 76097999
Change-Id: I47b97719f6aa957b0a216e6e1930ae2fe2f0108b
This commit is contained in:
Jeff Sharkey
2018-03-27 16:16:13 -06:00
parent abe058c0f0
commit c65461e584

View File

@@ -1,4 +1,5 @@
#!/bin/bash
LOCAL_DIR="$( dirname ${BASH_SOURCE} )"
git show --name-only --pretty=format: $1 | grep values/strings.xml | while read file; do
python $ANDROID_BUILD_TOP/frameworks/base/tools/stringslint/stringslint.py <(git show $1:$file) <(git show $1^:$file)
python $LOCAL_DIR/stringslint.py <(git show $1:$file) <(git show $1^:$file)
done