Lines Matching refs:i
144 for i in ${allSamples[@]};
147 URL=https://github.com/googlesamples/android-$i
151 toUpload+=("$i")
153 toUpdate+=("$i")
155 problemSamples+=("$i")
178 for i in ${toUpdate[@]};
180 URL=https://github.com/googlesamples/android-$i
182 if [ -d "android-$i" ]; then
183 diffResult=$(diff -r --exclude '*.git' ../prebuilts/gradle/$i/ ./android-$i/)
188 needsUpdate+=("$i")
191 echoerr "Something went wrong when cloning $i - result directory does not exist.
209 for i in ${toUpload[@]}; do
210 echo -e "\e[32m$i\e[0m"
223 for i in ${needsUpdate[@]}; do
224 echo -e "\e[34m$i\e[0m"
237 for i in ${problemSamples[@]};
239 echoerr "$i"
278 for i in ${needsUpdate[@]}; do
279 echo -e "\nUpdating $i"
280 if [ -d "android-$i" ]; then
281 rsync -az --delete --exclude '*.git' ../prebuilts/gradle/$i/ ./android-$i/
283 cd ./android-$i/
292 git remote set-url origin "https://$token@github.com/googlesamples/android-$i.git"
296 git remote set-url origin "http://github.com/googlesamples/android-$i.git"
300 echoerr "Something went wrong when cloning $i - result directory does not exist.
315 for i in ${toUpload[@]}; do
316 echo -e "\nUploading $i"
318 repoName="googlesamples/android-$i"
321 -d '{\"name\":\"android-'$i'\", \"team_id\":889859}' \
335 cd $i