François
05/13/2025, 10:37 AMCUR="${SRCROOT}/../shared/build/list_of_files.txt"
OLD="${SRCROOT}/../shared/build/old_list_of_files.txt"
touch $OLD
CHANGES="${SRCROOT}/../shared/build/list_of_changes.txt"
ls -lRT "${SRCROOT}/../shared/src/" > $CUR
diff $OLD $CUR > $CHANGES
if [ ! -s "${CHANGES}" ]; then
echo "No change in shared source"
exit 0
fi
if [ "YES" = "$OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED" ]; then
echo "Skipping Gradle build task invocation due to OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED environment variable set to \"YES\""
exit 0
fi
cd "$SRCROOT/.."
./gradlew :shared:embedAndSignAppleFrameworkForXcode
# set the current change as old after the build is OK
mv $CUR $OLD
François
05/24/2025, 7:40 AM