Version 1.0.1

This commit is contained in:
Erik C. Thauvin 2019-04-16 11:57:58 -07:00
parent 2438d5c3d7
commit c7bf4e21cc

View file

@ -2,7 +2,7 @@
#
# Version: 1.0.1
# Version: 1.0.2
#
# set the examples directories
@ -10,8 +10,8 @@ declare -a dirs=(
"${PWD##*/}"
"examples/java"
"examples/kotlin"
"annotation-processor/java"
"annotation-processor/kotlin")
"examples/annotation-processor/java"
"examples/annotation-processor/kotlin")
java8=true
###
@ -53,11 +53,11 @@ updateWrappers() {
echo -e "Updating wrappers..."
for d in "${dirs[@]}"; do
if [ -d "$d" ]; then
cd "$d" || exit 1
for d in "${!dirs[@]}"; do
if [ "$d" -ne 0 ]; then
cd "${dirs[d]}" || exit 1
fi
echo -e " ${cyan}${d}${std}"
echo -e " ${cyan}${dirs[d]}${std}"
updateWrappers
cd "$pwd"
done