We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcc2384 commit c0cae9fCopy full SHA for c0cae9f
build.sh
@@ -20,13 +20,9 @@ done < .env
20
21
# Check if device parameter is provided
22
if [ -z "$1" ]; then
23
- echo "Usage: ./build.sh <device_id_or_name>"
24
- echo "Example: ./build.sh chrome"
25
- echo "Example: ./build.sh 'iPhone 15'"
26
- echo ""
27
- echo "Available devices:"
28
- flutter devices
29
- exit 1
+ echo "No device specified. Building for web..."
+ flutter build web "${ARGS[@]}"
+ exit 0
30
fi
31
32
DEVICE_NAME="$1"
0 commit comments