Browse Source

Remove detectNewJavaFiles script

Now built into the workflow

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Álvaro Brey 2 years ago
parent
commit
7fb3c6f2ed
1 changed files with 0 additions and 11 deletions
  1. 0 11
      scripts/analysis/detectNewJavaFiles.sh

+ 0 - 11
scripts/analysis/detectNewJavaFiles.sh

@@ -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
-