Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
774da7ad6c | ||
|
|
2d645274a9 | ||
|
|
b3d927662c |
7
build.sh
7
build.sh
@@ -2,8 +2,11 @@
|
|||||||
|
|
||||||
# Check if .env file exists
|
# Check if .env file exists
|
||||||
if [ ! -f .env ]; then
|
if [ ! -f .env ]; then
|
||||||
echo "Error: .env file not found!"
|
{
|
||||||
exit 1
|
echo "APPWRITE_PROJECT_ID=$APPWRITE_PROJECT_ID"
|
||||||
|
echo "APPWRITE_PROJECT_NAME=$APPWRITE_PROJECT_NAME"
|
||||||
|
echo "APPWRITE_PUBLIC_ENDPOINT=$APPWRITE_PUBLIC_ENDPOINT"
|
||||||
|
} >> .env
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Read .env file and convert it to --dart-define arguments
|
# Read .env file and convert it to --dart-define arguments
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
echo "APPWRITE_PROJECT_ID=$APPWRITE_PROJECT_ID" >> .env
|
|
||||||
echo "APPWRITE_PROJECT_NAME=$APPWRITE_PROJECT_NAME" >> .env
|
|
||||||
echo "APPWRITE_PUBLIC_ENDPOINT=$APPWRITE_PUBLIC_ENDPOINT" >> .env
|
|
||||||
Reference in New Issue
Block a user