Script Kit Logo
Script Kit
by John Lindquist
Vercel OSS Program

Scripts by rohanjsh

Script to generate release builds for a Flutter Mobile App (Flavors Supported)

rohanjsh's avatar
Rohan
```sh # Name: Flutter Release Builds # Description: Generate release builds for flutter app # Author: Rohan Joshi # Twitter: @rohanjsh #!/bin/bash #! DEFAULTS #! Change these to your own #! PASS --use-defaults FLAG, TO USE THESE DEFAULTS default_num_flavors=2 default_flavors=("dev" "lib/main_dev.dart" "prod" "lib/main_prod.dart") default_build_types=("apk" "appbundle" "ipa") # DESCRIPTION # Automates Flutter project builds with flavor and type options. # Prerequisites: # - Flutter installed and configured.