flutter_engine_auto_compile_scripts
A script for compiling Flutter Engine automatically.
dependencies
This script is written in Python, some dependencies are needed:
- Python3, I’m using Python3.10
- Python related dependencies: Pipenv
- Flutter compiling: ant
Install
- clone repo
- this project use Pipenv for management, install pipenv
- install dependencies:
pipenv install
pipenv shell
- 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