mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-10 03:08:40 +00:00
fix build scripts
This commit is contained in:
parent
7198b3a8b1
commit
a3e2faea37
|
|
@ -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[96]="https://github.com/Karaka-Management/oms-WarehouseManagement.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"
|
||||
|
||||
for i in "${GITHUB[@]}"
|
||||
|
|
|
|||
|
|
@ -6,6 +6,6 @@ echo "#################################################"
|
|||
echo "Start php style inspection"
|
||||
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
|
||||
|
|
|
|||
2
php.sh
2
php.sh
|
|
@ -35,7 +35,7 @@ mkdir -p "${OUTPUT_PATH}/metrics"
|
|||
|
||||
if [[ ${BASE_NAME} == *"oms-"* ]]; then
|
||||
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 -C ${INSPECTION_PATH}/MainRepository checkout develop
|
||||
# git -C ${INSPECTION_PATH}/MainRepository pull
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user