flutter/packages/flutter_tools
James Robinson cbc35dfacb Download sky_snapshot from the cloud
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
2015-09-18 16:58:57 -07:00
..
bin Add a build command to sky_tools 2015-09-17 13:37:53 -07:00
lib/src Download sky_snapshot from the cloud 2015-09-18 16:58:57 -07:00
test Most of the infrastructure needed to install an APK on Android. 2015-09-16 12:56:10 -07:00
tool run tests on the bot 2015-08-08 04:09:10 -07:00
pubspec.yaml Add a build command to sky_tools 2015-09-17 13:37:53 -07:00
README.md update the sky_tools template and readme 2015-08-09 23:50:16 -07:00

sky_tools

Build Status

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:

  • init to 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.