diff --git a/worker/scripts/cppcheck.sh b/worker/scripts/cppcheck.sh index 14ca7d5bd6..206355bdf8 100755 --- a/worker/scripts/cppcheck.sh +++ b/worker/scripts/cppcheck.sh @@ -29,7 +29,7 @@ CPPCHECKS="warning,style,performance,portability,unusedFunction" XML_FILE="/tmp/mediasoup-worker-cppcheck.xml" HTML_REPORT_DIR="/tmp/mediasoup-worker-cppcheck-report" -echo ">>> [INFO] running cppcheck ..." +echo ">>> [INFO] running cppcheck..." cppcheck --std=c++11 --enable=${CPPCHECKS} -v --quiet --report-progress --inline-suppr --error-exitcode=69 -I include src --xml-version=2 2> $XML_FILE # If exit code is 1 it means that some cppcheck option is wrong, so abort. @@ -40,12 +40,12 @@ fi echo ">>> [INFO] cppcheck XML report file generated in ${XML_FILE}" -echo ">>> [INFO] running cppcheck-htmlreport ..." +echo ">>> [INFO] running cppcheck-htmlreport..." cppcheck-htmlreport --title="mediasoup-worker" --file=${XML_FILE} --report-dir=${HTML_REPORT_DIR} --source-dir=. > /dev/null echo ">>> [INFO] cppcheck HTML report generated in ${HTML_REPORT_DIR}" if type "open" &> /dev/null; then - echo ">>> [INFO] opening HTML report ..." + echo ">>> [INFO] opening HTML report..." open ${HTML_REPORT_DIR}/index.html fi diff --git a/worker/scripts/flint++.sh b/worker/scripts/flint++.sh index 33a60239bb..66e1a4daf7 100755 --- a/worker/scripts/flint++.sh +++ b/worker/scripts/flint++.sh @@ -13,9 +13,9 @@ if ! type "flint++" &> /dev/null; then exit 1 fi -echo ">>> [INFO] running flint++ in src/ folder ..." +echo ">>> [INFO] running flint++ in src/ folder..." flint++ --recursive --verbose src/ echo -echo ">>> [INFO] running flint++ in include/ folder ..." +echo ">>> [INFO] running flint++ in include/ folder..." flint++ --recursive --verbose include/ diff --git a/worker/scripts/get-dep.sh b/worker/scripts/get-dep.sh index 5d6fced81f..8abe8d3bcb 100755 --- a/worker/scripts/get-dep.sh +++ b/worker/scripts/get-dep.sh @@ -17,24 +17,24 @@ function get_dep() GIT_TAG="$2" DEST="$3" - echo ">>> [INFO] getting dep '${DEP}' ..." + echo ">>> [INFO] getting dep '${DEP}'..." if [ -d "${DEST}" ] ; then - echo ">>> [INFO] deleting ${DEST} ..." + echo ">>> [INFO] deleting ${DEST}..." git rm -rf --ignore-unmatch ${DEST} > /dev/null rm -rf ${DEST} fi - echo ">>> [INFO] cloning ${GIT_REPO} ..." + echo ">>> [INFO] cloning ${GIT_REPO}..." git clone ${GIT_REPO} ${DEST} cd ${DEST} - echo ">>> [INFO] setting '${GIT_TAG}' git tag ..." + echo ">>> [INFO] setting '${GIT_TAG}' git tag..." git checkout --quiet ${GIT_TAG} set -e - echo ">>> [INFO] adding dep source code to the repository ..." + echo ">>> [INFO] adding dep source code to the repository..." rm -rf .git git add .