INNER CODE UNIT · Python

main

wikimedia/apps-android-wikipedia · build-all.py:30

def main():
    """Main build process"""
    print("Starting build-all process...")
    print("This will build multiple release variants sequentially.")
    print(f"Platform: {platform.system()} {platform.release()}")
    print()
    
    # Check if we're in the right directory
    if not os.path.exists('scripts/make-release.py'):
        print("Error: scripts/make-release.py not found!")
        print("   Please run this script from the project root directory.")
        sys.exit(1)
    
    builds = [
        # (description, args)
        ("Beta bundle", ["--beta", "--bundle"]),
        ("Production bundle", ["--prod", "--bundle"]),
        ("Amazon APK", ["--channel", "amazon"]),

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…