fix build scripts

This commit is contained in:
Dennis Eichhorn 2023-10-02 23:52:59 +00:00
parent 7198b3a8b1
commit a3e2faea37
3 changed files with 2 additions and 3 deletions

View File

@ -98,7 +98,6 @@ GITHUB[94]="https://github.com/Karaka-Management/oms-TestModule.git"
GITHUB[95]="https://github.com/Karaka-Management/oms-Tools.git" GITHUB[95]="https://github.com/Karaka-Management/oms-Tools.git"
GITHUB[96]="https://github.com/Karaka-Management/oms-WarehouseManagement.git" GITHUB[96]="https://github.com/Karaka-Management/oms-WarehouseManagement.git"
GITHUB[97]="https://github.com/Karaka-Management/oms-Workflow.git" GITHUB[97]="https://github.com/Karaka-Management/oms-Workflow.git"
GITHUB[98]="https://github.com/Karaka-Management/Organization-Guide.git"
GITHUB[99]="https://github.com/Karaka-Management/phpOMS.git" GITHUB[99]="https://github.com/Karaka-Management/phpOMS.git"
for i in "${GITHUB[@]}" for i in "${GITHUB[@]}"

View File

@ -6,6 +6,6 @@ echo "#################################################"
echo "Start php style inspection" echo "Start php style inspection"
echo "#################################################" echo "#################################################"
php ${TOOLS_PATH}/vendor/bin/phpcs ${INSPECTION_PATH} --standard="${BUILD_PATH}/Config/phpcs.xml" -s --report-full=${OUTPUT_PATH}/phpcs.log --report-junit=${OUTPUT_PATH}/phpcs.xml || true php ${TOOLS_PATH}/vendor/bin/phpcs --severity=1 ${INSPECTION_PATH} --standard="${BUILD_PATH}/Config/phpcs.xml" -s --report-full=${OUTPUT_PATH}/phpcs.log --report-junit=${OUTPUT_PATH}/phpcs.xml || true
php ${TOOLS_PATH}/vendor/bin/rector process --dry-run --config ${BUILD_PATH}/Config/rector.php ${INSPECTION_PATH} > ${OUTPUT_PATH}/rector.log || true php ${TOOLS_PATH}/vendor/bin/rector process --dry-run --config ${BUILD_PATH}/Config/rector.php ${INSPECTION_PATH} > ${OUTPUT_PATH}/rector.log || true

2
php.sh
View File

@ -35,7 +35,7 @@ mkdir -p "${OUTPUT_PATH}/metrics"
if [[ ${BASE_NAME} == *"oms-"* ]]; then if [[ ${BASE_NAME} == *"oms-"* ]]; then
mkdir -p ${INSPECTION_PATH}/MainRepository mkdir -p ${INSPECTION_PATH}/MainRepository
cp -R ${INSPECTION_PATH}/../Karaka/* ${INSPECTION_PATH}/MainRepository cp -R ${INSPECTION_PATH}/../../Karaka/* ${INSPECTION_PATH}/MainRepository
# git clone --recurse-submodules https://github.com/Karaka-Management/Karaka.git ${INSPECTION_PATH}/MainRepository # git clone --recurse-submodules https://github.com/Karaka-Management/Karaka.git ${INSPECTION_PATH}/MainRepository
# git -C ${INSPECTION_PATH}/MainRepository checkout develop # git -C ${INSPECTION_PATH}/MainRepository checkout develop
# git -C ${INSPECTION_PATH}/MainRepository pull # git -C ${INSPECTION_PATH}/MainRepository pull