Jeff Sharkey | abe058c | 2018-03-26 09:38:01 -0600 | [diff] [blame] | 1 | #!/bin/bash |
Jeff Sharkey | c65461e | 2018-03-27 16:16:13 -0600 | [diff] [blame] | 2 | LOCAL_DIR="$( dirname ${BASH_SOURCE} )" |
Jeff Sharkey | abe058c | 2018-03-26 09:38:01 -0600 | [diff] [blame] | 3 | git show --name-only --pretty=format: $1 | grep values/strings.xml | while read file; do |
Jeff Sharkey | c65461e | 2018-03-27 16:16:13 -0600 | [diff] [blame] | 4 | python $LOCAL_DIR/stringslint.py <(git show $1:$file) <(git show $1^:$file) |
Jeff Sharkey | abe058c | 2018-03-26 09:38:01 -0600 | [diff] [blame] | 5 | done |