flutter_engine_auto_compile_scripts

A script for compiling Flutter Engine automatically.

dependencies

This script is written in Python, some dependencies are needed:

  1. Python3, I’m using Python3.10
  2. Python related dependencies: Pipenv
  3. Flutter compiling: ant

Install

  1. clone repo
  2. this project use Pipenv for management, install pipenv
  3. install dependencies: pipenv install
  4. pipenv shell
  5. in virtual environment,python src/main.py

Usage

Usage: main.py [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  build  Build flutter with out type defined in config.yaml
  sync   Check dependencies and sync flutter engine source

Proxy

If the cloning speed is too slow, you can try with a proxy, for example:

https_proxy=http://127.0.0.1:8888 python src/main.py

GitHub

View Github