fix inspection

This commit is contained in:
Dennis Eichhorn 2023-10-01 01:53:34 +00:00
parent 330b938083
commit a8cfa90b4d
3 changed files with 6 additions and 9 deletions

View File

@ -71,7 +71,7 @@ echo "#################################################"
echo "Test report"
echo "#################################################"
php ${TOOLS_PATH}/TestReportGenerator/src/index.php \
-b ${ROOT_PATH} \
-b ${INSPECTION_PATH} \
-l ${BUILD_PATH}/Config/reportLang.php \
-s ${OUTPUT_PATH}/junit_phpcs.xml \
-sj ${OUTPUT_PATH}/junit_eslint.xml \

View File

@ -1,11 +1,10 @@
#!/bin/bash
# Paths
BASE_PATH="/var/www/html"
ROOT_PATH="/var/www/html/Karaka"
BUILD_PATH="/var/www/html/Build"
BASE_PATH="${BUILD_PATH}/.."
ROOT_PATH="${BUILD_PATH}/.."
TOOLS_PATH="/var/www/html/Tools"
TOOLS_PATH="${BUILD_PATH}/.."
RELEASE_PATH="/var/www/html/Release"
# Web

6
php.sh
View File

@ -1,10 +1,8 @@
#!/bin/bash
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
source "$SCRIPT_DIR/script2.sh"
# Include config
. "$SCRIPT_DIR/config.sh"
BUILD_PATH="$(dirname "$(readlink -f "$0")")"
. "$BUILD_PATH/config.sh"
if [ $# -eq 0 ]; then
echo "No parameters provided."