Remove detectNewJavaFiles script

Now built into the workflow

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
This commit is contained in:
Álvaro Brey 2022-06-30 09:44:36 +02:00
parent 0c258a2fc7
commit 7fb3c6f2ed
No known key found for this signature in database
GPG key ID: 2585783189A62105

View file

@ -1,11 +0,0 @@
#!/bin/bash
count=$(grep \.java\" -c "$HOME"/files_added.json)
if [ "$count" -eq 0 ] ; then
exit 0
else
echo "New Java files detected! Please use Kotlin for new files. Number of new Java files: $count"
exit 1
fi