Skip to content

Commit 774da7a

Browse files
committed
Avoid prepare sh
1 parent 2d64527 commit 774da7a

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

build.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22

33
# Check if .env file exists
44
if [ ! -f .env ]; then
5-
echo "Error: .env file not found!"
6-
exit 1
5+
{
6+
echo "APPWRITE_PROJECT_ID=$APPWRITE_PROJECT_ID"
7+
echo "APPWRITE_PROJECT_NAME=$APPWRITE_PROJECT_NAME"
8+
echo "APPWRITE_PUBLIC_ENDPOINT=$APPWRITE_PUBLIC_ENDPOINT"
9+
} >> .env
710
fi
811

912
# Read .env file and convert it to --dart-define arguments

prepare.sh

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)