OSDN Git Service

BugTrack/2436 Ignore ESLint/nodejs related files
authorumorigu <umorigu@gmail.com>
Wed, 25 Oct 2017 17:55:10 +0000 (02:55 +0900)
committerumorigu <umorigu@gmail.com>
Wed, 25 Oct 2017 17:55:10 +0000 (02:55 +0900)
release.sh

index 7b5c3bc..d6b3485 100755 (executable)
@@ -260,6 +260,10 @@ test -z "$__noremove" && {
        find "$pkg_dir" -type f -name '.cvsignore' | xargs rm -f
   echo find "$pkg_dir" -type f -name '.gitignore' -exec rm -f {} \;
        find "$pkg_dir" -type f -name '.gitignore' -exec rm -f {} \;
+  echo find "$pkg_dir" -type f -name '.eslintrc.json' -exec rm -f {} \;
+       find "$pkg_dir" -type f -name '.eslintrc.json' -exec rm -f {} \;
+  echo find "$pkg_dir" -type f -name 'package.json' -exec rm -f {} \;
+       find "$pkg_dir" -type f -name 'package.json' -exec rm -f {} \;
 }
 
 # Get back original files ----------------------------------