Version 1.0.1
This commit is contained in:
parent
2438d5c3d7
commit
c7bf4e21cc
1 changed files with 7 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Version: 1.0.1
|
# Version: 1.0.2
|
||||||
#
|
#
|
||||||
|
|
||||||
# set the examples directories
|
# set the examples directories
|
||||||
|
@ -10,8 +10,8 @@ declare -a dirs=(
|
||||||
"${PWD##*/}"
|
"${PWD##*/}"
|
||||||
"examples/java"
|
"examples/java"
|
||||||
"examples/kotlin"
|
"examples/kotlin"
|
||||||
"annotation-processor/java"
|
"examples/annotation-processor/java"
|
||||||
"annotation-processor/kotlin")
|
"examples/annotation-processor/kotlin")
|
||||||
java8=true
|
java8=true
|
||||||
|
|
||||||
###
|
###
|
||||||
|
@ -53,11 +53,11 @@ updateWrappers() {
|
||||||
|
|
||||||
echo -e "Updating wrappers..."
|
echo -e "Updating wrappers..."
|
||||||
|
|
||||||
for d in "${dirs[@]}"; do
|
for d in "${!dirs[@]}"; do
|
||||||
if [ -d "$d" ]; then
|
if [ "$d" -ne 0 ]; then
|
||||||
cd "$d" || exit 1
|
cd "${dirs[d]}" || exit 1
|
||||||
fi
|
fi
|
||||||
echo -e " ${cyan}${d}${std}"
|
echo -e " ${cyan}${dirs[d]}${std}"
|
||||||
updateWrappers
|
updateWrappers
|
||||||
cd "$pwd"
|
cd "$pwd"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue