draft-release: preprocess only src of dependencies

p sure we had this problem already somewhere else? ...
This commit is contained in:
Dylan K. Taylor 2021-09-07 12:59:32 +01:00
parent c948aa94aa
commit 39820be836
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -55,7 +55,7 @@ jobs:
cp -r "$VENDOR_PM" "$VENDOR_PM_BACKUP"
for f in $(ls $VENDOR_PM/pocketmine); do
echo "Processing directory \"$f\"..."
php "$PM_PREPROCESSOR_PATH/PreProcessor.php" --path="$VENDOR_PM/pocketmine/$f" --multisize || (echo "Preprocessor exited with code $?" && exit 1)
php "$PM_PREPROCESSOR_PATH/PreProcessor.php" --path="$VENDOR_PM/pocketmine/$f/src" --multisize || (echo "Preprocessor exited with code $?" && exit 1)
echo "Checking for changes in \"$f\"..."
DIFF=$(git diff --no-index "$VENDOR_PM_BACKUP/pocketmine/$f" "$VENDOR_PM/pocketmine/$f" || true)
if [ "$DIFF" != "" ]; then