diff --git a/hideauto.sh b/hideauto.sh deleted file mode 100755 index bc6b18d0..00000000 --- a/hideauto.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -subdir=src/main/java/org/lsc/configuration - -find $subdir -name '*.java' | xargs grep -l -e '\(Généré le\)\|\(Generated on\)' | { - while read file; do git rm --cached $file ; done -} - -pushd $subdir -{ - echo "# ignore autogenerated java files" - find -name '*.java' | xargs grep -l -e '\(Généré le\)\|\(Generated on\)' | sed 's/^\.\/\(.*\)$/\/\1/' -} > .gitignore - - -popd