Jeff Sharkey 85ccd04180 Shift stringslint to using python3.
Bug: 169704254
Test: manual
Change-Id: I354ef4b12c75505a069fdf657ab98a9b122785c7
2020-10-07 10:48:43 -06:00

6 lines
227 B
Bash
Executable File

#!/bin/bash
LOCAL_DIR="$( dirname ${BASH_SOURCE} )"
git show --name-only --pretty=format: $1 | grep values/strings.xml | while read file; do
python3 $LOCAL_DIR/stringslint.py <(git show $1:$file) <(git show $1^:$file)
done