bin/check in renuo-bin-check-0.2.1 vs bin/check in renuo-bin-check-1.0.0.beta1
- old
+ new
@@ -7,40 +7,40 @@
echo 'rack-mini-profiler detected in Gemfile.lock.'
echo 'Please remove rack-mini-profiler from your Gemfile(.local), run bundle and commit again, commit aborted'
exit 1
fi
-grep --exclude-dir="lib/renuo_bin_check/default_scripts" -i -r 'TODO' lib spec Gemfile
+grep --exclude-dir={"lib/renuo_bin_check/default_scripts","spec/renuo/bin-check/default_scripts"} -i -r 'TODO' lib spec Gemfile
if [ $? -eq 0 ]; then
echo 'TODOs found. Please fix them and try again, commit aborted'
exit 1
fi
-grep --exclude-dir="lib/renuo_bin_check/default_scripts" -i -r 'console.log' lib spec
+grep --exclude-dir={"lib/renuo_bin_check/default_scripts","spec/renuo/bin-check/default_scripts"} -i -r 'console.log' lib spec
if [ $? -eq 0 ]; then
echo 'console.log found. Please fix them and try again, commit aborted'
exit 1
fi
-grep --exclude-dir="lib/renuo_bin_check/default_scripts" -i -r ' puts ' lib spec
+grep --exclude-dir={"lib/renuo_bin_check/default_scripts","spec/renuo/bin-check/default_scripts"} -i -r ' puts ' lib spec
if [ $? -eq 0 ]; then
echo 'puts found. Please fix them and try again, commit aborted'
exit 1
fi
-grep --exclude-dir="lib/renuo_bin_check/default_scripts" -i -r ' puts(' lib spec
+grep --exclude-dir={"lib/renuo_bin_check/default_scripts","spec/renuo/bin-check/default_scripts"} -i -r ' puts(' lib spec
if [ $? -eq 0 ]; then
echo 'puts found. Please fix them and try again, commit aborted'
exit 1
fi
-grep --exclude-dir="lib/renuo_bin_check/default_scripts" -i -r ' p ' lib spec
+grep --exclude-dir={"lib/renuo_bin_check/default_scripts","spec/renuo/bin-check/default_scripts"} -i -r ' p ' lib spec
if [ $? -eq 0 ]; then
echo 'p found. Please fix them and try again, commit aborted'
exit 1
fi
-grep --exclude-dir="lib/renuo_bin_check/default_scripts" -i -r ' p(' lib spec
+grep --exclude-dir={"lib/renuo_bin_check/default_scripts","spec/renuo/bin-check/default_scripts"} -i -r ' p(' lib spec
if [ $? -eq 0 ]; then
echo 'p found. Please fix them and try again, commit aborted'
exit 1
fi