ente/mobile/run.sh
2024-03-01 12:25:37 +05:30

13 lines
227 B
Bash
Executable file

#!/bin/sh
FLUTTER_RUN="flutter run --flavor dev "
SUPPLIED_ENV_FILE=".env"
while IFS= read -r line
do
FLUTTER_RUN="$FLUTTER_RUN --dart-define $line"
done < "$SUPPLIED_ENV_FILE"
echo "Running: $FLUTTER_RUN"
$FLUTTER_RUN