managarten/apps/memoro/apps/mobile/eas-build-pre-install.sh
Till JS d8a2b37126 chore(memoro): import legacy backend, mobile, and landing apps
Adds the original NestJS backends (backend, audio-backend), Expo mobile app,
and Astro landing page as-is from the standalone memoro repo. These are
not yet migrated to monorepo standards (migration tracked in memory/CLAUDE.md).

Also adds eslint.config.mjs ignore for apps/*/apps/audio-backend/**
and .prettierignore entries for legacy memoro dirs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 17:30:00 +02:00

18 lines
591 B
Bash
Executable file

#!/bin/bash
# This script runs before the EAS build process starts
# It copies the appropriate .env file based on the build profile
ENV_FILE_TO_USE="${EXPO_PUBLIC_USE_ENV_FILE:-.env}"
echo "Using environment file: $ENV_FILE_TO_USE"
if [ -f "$ENV_FILE_TO_USE" ]; then
echo "Copying $ENV_FILE_TO_USE to .env"
cp "$ENV_FILE_TO_USE" .env
else
echo "Warning: $ENV_FILE_TO_USE not found!"
fi
# Display the environment variables that will be used (without values for security)
echo "Environment variables that will be used (names only):"
grep -v '^#' .env | cut -d '=' -f1 | grep -v '^$'