-
Notifications
You must be signed in to change notification settings - Fork 0
Development
Chance Snow edited this page Sep 25, 2024
·
3 revisions
Compiling the Flutter engine for a new platform requires an exorbitant amount of disk space.
-
.envrc, i.e. direnv sudo apt-get install build-essential
Note: In GitHub Codespaces:
- Install Linux Brew
brew install direnv- Ensure the Brew and direnv shell hooks are installed, i.e. added to
~/.bashrc:eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" eval "$(direnv hook bash)"
-
Install
depot_toolsFor best results,
cp example.envrc .envrcand ensuredepo_toolsis added to the path. -
Download Flutter engine sources, assuming
depot_toolsis available on the path:
fetch fluttergit -C src/flutter remote rename origin upstreamgclient sync