From c0cae9fcb7b19873d39129a9e8cd6f492f909381 Mon Sep 17 00:00:00 2001 From: Khushboo Verma Date: Fri, 8 Aug 2025 18:29:14 +0530 Subject: [PATCH] If no params passed, default to web --- build.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/build.sh b/build.sh index 9cfec00..2f9c287 100755 --- a/build.sh +++ b/build.sh @@ -20,13 +20,9 @@ done < .env # Check if device parameter is provided if [ -z "$1" ]; then - echo "Usage: ./build.sh " - echo "Example: ./build.sh chrome" - echo "Example: ./build.sh 'iPhone 15'" - echo "" - echo "Available devices:" - flutter devices - exit 1 + echo "No device specified. Building for web..." + flutter build web "${ARGS[@]}" + exit 0 fi DEVICE_NAME="$1"