373 Commits

Author SHA1 Message Date
Ian Fischer
0cc758d24e Set up plumbing for getting relevant paths to the right places without too much global state.
`dart bin/sky_tools.dart --debug --sky-src-path=/path/to/sky/src/ install` now works.
2015-09-22 11:17:39 -07:00
James Robinson
542da8ccd5 Adds a run_mojo command that downloads sky_viewer.mojo and runs an flx in it
This initial version assumes the developer has mojo_shell and all other services
sitting on disk somewhere and that they're on linux and only want to run on
linux. This can be generalized down the line to support more use cases. This
downloads the sky_viewer.mojo corresponding to the packages/sky_engine/REVISION
in the developer's directory, so they can specify whatever revision they want.
sky_tools run_mojo downloads sky_viewer.mojo into its cache directory if it is
not present and constructs a command line to pass to mojo_shell that maps the
shebang stamped into the flx to the downloaded sky_viewer.mojo.

Since sky_viewer.mojo lives in the cloud and mojo_shell can load from the cloud
this could also map to an https URL. This should likely be an option.
2015-09-21 22:06:05 -07:00
Adam Barth
cf41a63396 Add a build command to sky_tools
This command will produce an flx package. Currently, this command doesn't work
because we don't have the Flutter compiler downloaded from Google storage yet.
A future patch will make that happen.
2015-09-17 13:37:53 -07:00
Ian Fischer
d8d87f1833 Add very-verbose flag and automatically log some more process-related things in verbose and very-verbose modes. 2015-09-16 10:57:15 -07:00
Ian Fischer
b72d67a8fe Private setup methods for AndroidDevice. 2015-09-15 17:20:49 -07:00
Ian Fischer
5678c12433 Add verbose flag to sky_tools and basic logging capabilities. 2015-09-15 16:08:59 -07:00
Ian Fischer
81746e980c Initial sketch of install command and what devices look like. 2015-09-11 12:44:47 -07:00
Adam Barth
f77983baa8 Adds experimental pub run sky_tools:sky_test command
This command uses package:test to run Dart tests with sky_shell.  For this to
work, we need https://github.com/dart-lang/test/tree/hacky-loader-hook to land.
We're also not smart enough to find sky_shell ourselves yet. Instead, we take
the path as input using an environment variable. Eventually, we'll be able to
get the sky_shell executable from package:sky_engine, but we don't yet ship
that executable.
2015-08-19 23:57:41 -07:00
Adam Barth
f7fa689da4 Add support for HEAD requests 2015-08-13 11:20:19 -07:00
Adam Barth
d0cec84e52 Be more agressive about not caching with sky_server 2015-08-12 09:07:21 -07:00
Devon Carew
a03deafac8 update the sky_tools template and readme 2015-08-09 23:50:16 -07:00
Devon Carew
fd21db9436 add a changelog 2015-08-08 04:05:32 -07:00
Devon Carew
cec6288972 merge to master 2015-08-07 14:22:19 -07:00
Devon Carew
2efd13159c add a sky_tools init command to create a new project 2015-08-07 14:20:14 -07:00
Collin Jackson
471d7b4802 Refactor per abarth feedback 2015-08-07 12:52:54 -07:00
Adam Barth
a9e4336a7b Update shelf_static and enable directory listing 2015-07-31 20:27:50 -07:00
Adam Barth
a982f0213b Add the option to log to sky_server 2015-07-29 16:27:41 -07:00
Adam Barth
b45a6442c5 Turn off gzip
This feature appears to be causing problems with OkHTTP's cache.
2015-07-27 10:03:22 -07:00
Adam Barth
bb2f54bb91 Use shelf instead of http_server
This patch switches sky_server.dart to use shelf rather than http_server.
2015-07-23 19:51:03 -07:00
Adam Barth
0365fefaca Let sky_server follow links outside of the current directory 2015-07-23 00:13:51 -07:00
Adam Barth
041275e80c Add a basic HTTP server for Sky 2015-07-22 23:42:22 -07:00
Adam Barth
646ff43f9b Iterate on build_sky_apk.dart 2015-07-21 10:10:36 -07:00
Adam Barth
688fb26ae3 Add a first draft of build_sky_apk.dart 2015-07-20 17:22:22 -07:00