mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-23 08:26:41 +02:00
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>
18 lines
591 B
Bash
Executable file
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 '^$'
|