Add pre-commit robot-framework tidy
[integration/test.git] / tools / robot_check / tidy.sh
diff --git a/tools/robot_check/tidy.sh b/tools/robot_check/tidy.sh
deleted file mode 100755 (executable)
index c9033db..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env sh
-# Convenience script to run check on all .robot files in the project.
-# Run with the "quiet" argument to get rid of the non-error output.
-
-if test "${1-loud}" = "quiet"; then
-  COMMAND="quiet"
-elif test "${1-loud}" = "tidy"; then
-  COMMAND="tidy"
-else
-  COMMAND="check"
-fi
-BASE=`dirname ${0}`
-cd $BASE
-BASE=`pwd`
-cd ../..
-DIRLIST=""
-for Dir in *; do
-  if test -d $Dir; then
-    DIRLIST="$DIRLIST $Dir"
-  fi
-done
-python $BASE/tidytool.py $COMMAND $DIRLIST