shell: /bin/zsh scripts: # =============================================================================================== # Android # =============================================================================================== - name: android:build:apk cmd: build android --apk description: Build Android APK only - name: android:build:bundle cmd: build android --aab description: Build Android unified bundle (for Play Store release) - name: android:build:all cmd: build android --build description: Build Android unified bundle + standalone APK - name: android:push description: Push APK to ADB-connected device cmd: build android --push - name: android:install cmd: build android --install description: Install APK on Android (does not build) - name: android:full cmd: scr android:build:all --install --push description: Build, push and install APK to ADB connected device - name: android:release cmd: build android --release --symbols description: Builds, collects debug symbols, and places the output in release/ dir. # =============================================================================================== # iOS # =============================================================================================== - name: ios:build:ipa cmd: build ios --build --ipa description: Build iOS IPA file - name: ios:build:all cmd: build ios --build --ipa description: Build iOS IPA (only IPA supported) - name: ios:pod:update cmd: build ios --repo-update description: Install Pods for iOS - name: ios:release cmd: build ios --release description: Builds, and places the output in release/ dir. # =============================================================================================== # macOS # =============================================================================================== - name: macos:build:app cmd: build macos --build description: Build macOS App - name: macos:build:all cmd: scr macos:build:app description: 'Alias for: Build macOS App' - name: macos:pod:update cmd: build macos --repo-update description: Install Pods for macOS - name: macos:release cmd: build macos --build --pack description: Builds, and places the output in release/ dir. - name: macos:pack description: Package macOS app into DMG file cmd: build macos --pack # =============================================================================================== # Web # =============================================================================================== - name: web:build cmd: build web --build description: Build Web app - name: web:publish cmd: build web --publish description: Publish web version using Firebase (requires build) - name: web:release cmd: build web --build --publish description: Build & publish web version using Firebase # =============================================================================================== # All # =============================================================================================== - name: build:all cmd: scr android:build:all && scr ios:build:all && scr macos:build:all && scr web:build - name: release:all cmd: scr android:release && scr ios:release && scr macos:release && scr web:release description: Build for all platforms - name: apple:pod:update cmd: scr macos:pod:update && scr ios:pod:update description: Install Pods for macOS & iOS # =============================================================================================== # Utils # =============================================================================================== - name: build cmd: dart run tool/build.dart - name: format cmd: dart format --line-length 120 description: Format all Dart files - name: gen:icons cmd: flutter pub run icons_launcher:create description: Generate launcher icons - name: gen:splash cmd: flutter pub run flutter_native_splash:create description: Generate splash screen - name: gen:module cmd: npx -y simple-scaffold@latest -c gen/scaffold.config.js -k module description: Generate module from template. Append name to command. See simple-scaffold -h for help. - name: gen:atom cmd: npx -y simple-scaffold@latest -c gen/scaffold.config.js -k atom description: Generate atom from template. Append name to command. See simple-scaffold -h for help. - name: gen:molecule cmd: npx -y simple-scaffold@latest -c gen/scaffold.config.js -k molecule description: Generate molecule from template. Append name to command. See simple-scaffold -h for help. - name: gen:organism cmd: npx -y simple-scaffold@latest -c gen/scaffold.config.js -k organism description: Generate organism from template. Append name to command. See simple-scaffold -h for help. - name: intl:build cmd: runner build -d description: Build i18n files - name: intl:watch cmd: runner watch -d description: Build i18n files in watch mode - name: runner cmd: dart run build_runner description: Run Build Runner