17 lines
406 B
Bash
Executable file
17 lines
406 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ $# -eq 0 ]; then
|
|
echo "Usage: $0 <arg> [...]"
|
|
exit 1
|
|
fi
|
|
|
|
dir=$(dirname "$(readlink -f "$0")")
|
|
color=$(tput setaf 6)
|
|
normal=$(tput sgr0)
|
|
|
|
for ex in "java" "kotlin" "annotation-processor/java" "annotation-processor/kotlin"; do
|
|
cd "$dir/$ex" || exit 1
|
|
echo "> Project: ${color}${ex}${normal}"
|
|
./gradlew clean "$@" --console=plain --no-build-cache || exit 1
|
|
echo
|
|
done
|