mirror of
https://github.com/ente-io/ente.git
synced 2025-05-23 19:56:27 +00:00
14 lines
227 B
Bash
Executable File
14 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
|