Search only Kotlin long files

This commit is contained in:
Benoit Marty 2020-06-30 00:50:17 +02:00
parent 4bb804fbf7
commit c14b226c92
1 changed files with 14 additions and 6 deletions

View File

@ -108,14 +108,22 @@ else
chmod u+x ${checkLongFilesScript} chmod u+x ${checkLongFilesScript}
fi fi
echo maxLines=2500
echo "Search for long files..."
${checkLongFilesScript} 2500 \ echo
echo "Search for kotlin files with more than ${maxLines} lines..."
${checkLongFilesScript} ${maxLines} \
./matrix-sdk-android/src/main/java \
./matrix-sdk-android-rx/src/main/java \
./vector/src/androidTest/java \
./vector/src/debug/java \
./vector/src/fdroid/java \
./vector/src/gplay/java \
./vector/src/main/java \ ./vector/src/main/java \
./vector/src/main/res/layout \ ./vector/src/release/java \
./vector/src/main/res/values \ ./vector/src/sharedTest/java \
./vector/src/main/res/values-v21 \ ./vector/src/test/java
resultLongFiles=$? resultLongFiles=$?