build_app/build_command library
Build command container for all platform-specific build commands.
This command serves as the main entry point for build operations, organizing all platform-specific build commands under a unified interface with enhanced documentation and command discovery.
Available Build Commands
- apk: Build Android APK files
- appbundle: Build Android App Bundle (AAB) files
- ios: Build iOS application bundles
- ipa: Build iOS IPA archives for distribution
- web: Build web applications with modern optimizations
Enhanced Features
- Unified build workflow with consistent error handling
- Comprehensive progress reporting and user feedback
- Platform-specific validation and environment checks
- Advanced configuration management through morpheme.yaml
- Build artifact analysis and deployment guidance
Usage Examples
# Build Android APK for production
morpheme build apk --flavor prod --release
# Build iOS IPA for App Store submission
morpheme build ipa --flavor prod --export-method app-store
# Build web application with PWA support
morpheme build web --flavor prod --pwa-strategy offline-first
Global Options
All build commands support common options including:
- Flavor selection (--flavor)
- Build modes (--debug, --profile, --release)
- Target specification (--target)
- Configuration override (--morpheme-yaml)
- Localization generation (--l10n)
- Build versioning (--build-number, --build-name)
- Code obfuscation (--obfuscate, --split-debug-info)
Classes
- BuildCommand
- Container command for all build operations.