mirror of
https://github.com/flutter/flutter.git
synced 2026-02-17 04:56:57 +08:00
This adds logic to download and use the sky_snapshot binary from Google cloud storage when running the 'sky_tools build' command. The downloaded binary is put into lib/cache/... The binary is chosen to match the REVISION in the sky_engine package in the packages directory of whichever package the user wishes to build a flx from. Known issues: *) Assumes linux-x64 host *) Assumes download will always produce valid executable *) No clearing of stale cache entries
sky_tools
Tools for building Sky applications.
Installing
To install, run:
pub global activate sky_tools
or, depend on this package in your pubspec:
dependencies:
sky_tools: any
Running sky_tools
Run sky_tools (or pub global run sky_tools) to see a list of available
commands:
initto create a new project
Then, run a sky_tools command:
sky_tools init --out my_sky_project
Running sky_tools:sky_server
To serve the current directory using sky_server:
pub run sky_tools:sky_server [-v] PORT
Running sky_tools:build_sky_apk
usage: pub run sky_tools:build_sky_apk <options>
-h, --help
--android-sdk
--skyx
Filing Issues
Please file reports on the GitHub Issue Tracker.