Connect Flutter phone auth and Android platform

This commit is contained in:
Hamza-Ayed
2026-10-04 01:44:07 +03:00
parent 5b90da6b18
commit 98490a17e6
44 changed files with 1271 additions and 168 deletions
+7 -4
View File
@@ -103,10 +103,13 @@ else
[[ ! -e "$staging_dir/.env" && ! -L "$staging_dir/.env" ]] || die 'release must not contain a tracked .env file'
ln -s "$shared_dir/.env" "$staging_dir/.env"
if command -v php >/dev/null 2>&1 && [[ -d "$staging_dir/backend" ]]; then
while IFS= read -r -d '' php_file; do
php -l "$php_file" >/dev/null || die "PHP syntax check failed: $php_file"
done < <(find "$staging_dir/backend" -type f -name '*.php' -print0)
if command -v php >/dev/null 2>&1; then
for php_dir in "$staging_dir/backend" "$staging_dir/public"; do
[[ -d "$php_dir" ]] || continue
while IFS= read -r -d '' php_file; do
php -l "$php_file" >/dev/null || die "PHP syntax check failed: $php_file"
done < <(find "$php_dir" -type f -name '*.php' -print0)
done
fi
mv "$staging_dir" "$release_dir"