Adam Barth
90991854e0
Add a flutter upgrade
command
...
This command upgrades the version of flutter that you're using and runs
`pub upgrade` to update the transitive dependencies.
2015-11-12 10:16:13 -08:00
Devon Carew
0292180075
also listen for flutter in the adb logs
2015-11-11 21:12:14 -08:00
Devon Carew
3c943d79ec
fix an issue parsing 'adb devices' output
2015-11-11 14:14:12 -08:00
Adam Barth
da0a12c611
Rename sky_tools to flutter_tools
2015-11-10 13:20:35 -08:00
Ian Hickson
0a1385d9a9
Merge pull request #66 from Hixie/better-tests
...
Run 'pub get' the first time the tests are run
2015-11-10 12:26:42 -08:00
Devon Carew
84c273333c
Merge pull request #274 from devoncarew/init_tweak
...
fix a ws issue in the sample app
2015-11-10 10:43:06 -08:00
Adam Barth
b9bc5e790f
Merge pull request #87 from alhaad/run_mojo_devtools
...
Use --devtools-path flag to run_mojo.
2015-11-10 10:27:28 -08:00
Devon Carew
20c2aa1690
fix a ws issue in the sample app
2015-11-10 08:48:03 -08:00
Hixie
bd69e2c405
Run 'pub get' the first time the tests are run
2015-11-09 13:44:04 -08:00
Adam Barth
7e8b111bcc
Search all the build configurations for sky_snapshot
...
Previously, we assumed the first build configuration would have one. Now we
keep looking until we find one. Also, re-ordered the configurations so that
you'll get the Android one if you have both, which is probably what you would
expect.
Fixes #100
2015-11-09 13:31:49 -08:00
Alhaad Gokhale
7b19d08cc3
Use --devtools flag to run_mojo.
...
That way we can control if we want to use devtools to run on Linux and
also cleanly separate out the two uses.
R=@jamesr
2015-11-09 12:29:07 -08:00
Adam Barth
6e7f575950
flutter start should give better errors when it can't find main
...
Now we suggest using -t to specify the main Dart file.
Fixes #53
2015-11-09 11:31:11 -08:00
Ian Hickson
3419068cb3
Port test logic to Dart.
2015-11-09 09:00:49 -08:00
Adam Barth
576795dcc6
Add a CONTRIBUTING.md
...
This document describes the workflow for contributing code to this repository.
2015-11-08 21:56:20 -08:00
Devon Carew
4112f66312
Merge pull request #52 from devoncarew/older_android
...
support older android devices (>= 17)
2015-11-07 21:59:56 -08:00
Devon Carew
3b9862a52c
support older android devices (>= 16)
2015-11-07 21:55:21 -08:00
Adam Barth
2710e0f468
Teach flutter init how to depend on flutter using a relative path
2015-11-07 21:30:26 -08:00
Jeff R. Allen
c8c2d23f26
Avoid use of run-as
...
Issue #1988 results from run-as not working on some phones,
because of Android issue 58373.
This change removes the need for run-as for running
"flutter start". It is still needed for tracing.
2015-11-07 15:28:01 +06:00
Adam Barth
2ed113430a
Add dev/run_tests
...
This script runs the Flutter unit tests. By default, the script assumes you
have compiled a SkyShell in an "engine/src" that's a peer to the "flutter"
directory.
2015-11-06 23:14:17 -08:00
Devon Carew
a469020983
add a flutter.yaml file to the init template
2015-11-06 20:57:35 -08:00
Adam Barth
113500206a
Remove the --http option
2015-11-06 20:17:24 -08:00
Jason Simmons
6e0b59fc09
Add a flag that selects which Android device ID is the target for Flutter commands
2015-11-05 15:53:32 -08:00
Adam Barth
fc8cdf4daf
Add a command for running unit tests
2015-11-04 23:43:15 -08:00
Adam Barth
b4fa3fbbf0
Return to the mojo artifacts for Linux
2015-11-04 14:25:47 -08:00
Matt Perry
4ba8a7f077
Seed the RNG before signing the package.
2015-11-04 14:08:24 -05:00
Adam Barth
297e9c33fa
Support Jelly Bean
2015-11-04 08:57:33 -08:00
Adam Barth
3804107e2d
Enable --no-http by default
...
We still have the --http option as a fallback for now. Once we're confident the
--no-http version works, we'll drop the --http support.
Also, create the FLX in a temp directory and then delete the temp directory
when we're done. Finally, pull the Linux artifacts from the cloud storage
bucket that the buildbot is uploading to.
2015-11-03 19:39:47 -08:00
Devon Carew
856f04bee2
Merge pull request #169 from devoncarew/daemon
...
add a persistent daemon/server mode to sky_tools
2015-11-03 16:01:50 -08:00
Devon Carew
7d0a298b0b
start a daemon command
...
wrap up first daemon implementation
2015-11-03 15:58:02 -08:00
Matt Perry
8ab21d7a9c
Depend on the new flx 0.0.5 and remove use of deprecated KeyPair.
2015-11-03 15:28:55 -05:00
Hixie
466a91ab41
fix the 'dart:profiler' bug
...
...by requiring a new version of analyzer.
Also, when the subprocess is terminated unexpectedly, report the actual
problem in more detail.
2015-11-02 13:11:19 -08:00
Devon Carew
5978f1355d
Merge pull request #162 from devoncarew/abstract_os
...
abstract some OS operations
2015-11-02 13:10:43 -08:00
Devon Carew
5dc4a7cce4
abstract some OS operations
2015-11-02 13:07:56 -08:00
Adam Barth
27118f39ea
Add a default maniest path for build
2015-11-02 12:54:31 -08:00
Hixie
b43722e79f
Handle crashing engine.
...
When the engine dies unexpectedly during test execution, we have to
terminate any tests running in that engine. Previously, they would just
hang. For some reason that I was never able to satisfactorily explain,
the WebSocket doesn't die in a way I can detect in this case. So
instead, we hand in a future that we only complete when we detect the
server subprocess ends.
2015-11-02 11:19:19 -08:00
Hixie
297b90e250
Try to fix the test framework better than before
...
The previous attempt to port the 'test' framework to the new framework
wasn't super-successful. This does a better job, hopefully.
2015-11-02 09:09:47 -08:00
Adam Barth
94b472ff67
Add a --no-http flag to start command
...
This flag builds a local FLX file and pushes that to the device instead of
using an HTTP server.
2015-10-31 12:18:03 -07:00
Devon Carew
48c3d01587
fix the stop command
2015-10-30 13:54:39 -07:00
Adam Barth
6e076a3522
Merge pull request #148 from alhaad/update_run_mojo_command
...
Modify run_mojo command to take path to devtools.
2015-10-29 16:22:36 -07:00
Alhaad Gokhale
dde6bd2034
Use a common flag for both android and linux.
2015-10-29 15:29:44 -07:00
Jason Simmons
5f742b70ba
Merge pull request #145 from jason-simmons/init_dir_path
...
Generalize path handling in flutter init
2015-10-29 14:41:33 -07:00
Alhaad Gokhale
587f6e27fe
Modify run_mojo command to take path to devtools.
...
Made changes as discussed.
R=@jamesr
2015-10-29 14:36:25 -07:00
Jason Simmons
ef2e038b11
Generalize path handling in flutter init
...
This will make "-o ." work as expected to initialize a project in the
current directory
2015-10-29 14:33:27 -07:00
Todd Volkert
3d7f2126b9
Merge pull request #142 from flutter/issue_141
...
Wait for sky server to start before starting device
2015-10-29 14:21:07 -07:00
Todd Volkert
a57109beba
Wait for sky server to start before starting device
...
Instead of just waiting for the sky server process to start
before we start the activity on the device, this causes us to
wait for the sky server to actually start listening on its port
Fixes #141
2015-10-29 14:19:15 -07:00
Hixie
79ceee73b2
Port our testing framework to new test library
2015-10-29 14:07:24 -07:00
Devon Carew
494d1e0140
verify that we're running from the root of a project
...
remove an unused import
review comments
rename st --> stack
2015-10-29 11:30:44 -07:00
Devon Carew
678af9c045
fix some issues found by strong mode
2015-10-28 13:42:46 -07:00
Matt Perry
828b861fce
Change signing code to use shared flx package.
2015-10-26 15:14:01 -04:00
Devon Carew
5dbeb8f018
fix tests on windows
...
remove a runInShell arg on windows when launching pub
2015-10-23 22:44:56 -07:00