Commit graph

88 commits

Author SHA1 Message Date
Devon Carew d5cccf5cd6 rev mockito; remove deprecated uses 2016-03-30 09:10:50 -07:00
Adam Barth 2e062dfab4 Use --packages rather than --package-root
The .packages file is replacing the packages directory of symlinks.
2016-03-28 15:01:25 -07:00
Devon Carew 7b694ddd42 upgrade to test 0.12.13 2016-03-27 13:36:01 -07:00
Jason Simmons c2b4ac9c3c Validate flutter.yaml against a JSON schema 2016-03-24 17:49:23 -07:00
Ian Hickson 87eb34240b Port to crypto 0.9.2 2016-03-22 21:54:34 -07:00
Ian Hickson a7016062bc Improve flutter create help text. 2016-03-20 20:06:30 -07:00
Adam Barth 41cdd600df Remove test dependency from package:flutter
The mojo_sdk has cleaned up its dependencies, so we no longer need to depend on
package:test from package:flutter.
2016-03-03 12:26:58 -08:00
Adam Barth 96ec5316b8 Switch from hack_load_vm_file_hook to PlatformPlugin
This patch switches us from using our previous hacking approach to integrating
with package:test to using the new PlatformPlugin interface.
2016-03-03 11:23:36 -08:00
yjbanov a2b1bd4673 "flutter drive" command
Runs a test app and a driver test simultaneously, then stops the app.

Usage:

```
flutter drive --target=/path/to/test/app.dart
```

This command will look for `/path/to/test/app_test.dart` by
convention. We will expand into other ways of discovering tests in the
future.
2016-02-19 18:11:53 -08:00
Devon Carew dcf0b7bae6 allow any android sdk version 2016-02-13 14:37:41 -08:00
Matt Perry 5d2281b69b 'flutter start' calls 'flutter apk' if necessary.
flutter start no longer depends on a pre-built SkyShell.apk. It builds a
new one, as long as an AndroidManifest.xml exists.

We rebuild the .apk every time either AndroidManifest.xml or
flutter.yaml changes.
2016-02-03 12:21:20 -08:00
Seth Ladd fa91b3ff75 get a bug fix for multi-line command descriptions 2016-01-25 09:28:42 -08:00
Ian Hickson 7151fdd054 Move flutter tests from packages/unit to packages/flutter/test 2015-12-16 08:00:57 -08:00
Hixie 0a6b0f9b0b Always import our packages when analyzing. 2015-12-14 12:56:31 -08:00
Jason Simmons cb6eef70e8 Upgrade the test package (needed by the latest mojo roll) 2015-12-10 16:25:12 -08:00
Adam Barth f41869f639 Update package:test to the latest version 2015-11-30 18:41:10 -08:00
Adam Barth 58f056da68 Pin package:test to an exact revision
We use a number of non-public APIs in the test package, which makes our
dependency quite fragile. This patch pins a specific, known-good version. We
should update to the lastest version in a follow-up patch.
2015-11-24 09:22:11 -08:00
Adam Barth da0a12c611 Rename sky_tools to flutter_tools 2015-11-10 13:20:35 -08:00
Adam Barth 08539b4e4d Rewire the pubspecs to use local paths
Using local paths ensures that each package sees each other package at HEAD.
2015-11-06 22:46:52 -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
Adam Barth 01a6356230 Rev pubspec 2015-11-04 14:26:07 -08:00
Matt Perry 4ba8a7f077 Seed the RNG before signing the package. 2015-11-04 14:08:24 -05:00
Adam Barth 76c54f148b Rev pubspec 2015-11-04 09:07:29 -08:00
Matt Perry 071ebda56f Change flutter_tools to version 0.0.34. 2015-11-03 15:41:47 -05: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
Hixie fe5f98e33b Rev sky_tools to 0.0.32. 2015-11-02 11:25:58 -08:00
Devon Carew 70e20153ab use stack_trace to create more readable exception traces 2015-11-02 00:20:22 -08:00
Adam Barth 492090360a Remove some unnessary dependencies 2015-10-31 12:43:26 -07:00
Adam Barth 7115ff2674 Rev pub package 2015-10-30 10:08:21 -07:00
Adam Barth 64c96e0dfa Stop requiring customers to use a dev SDK 2015-10-29 16:17:13 -07:00
Hixie 184ab7c9aa Put an upper bound on flx dependency
In case we run into trouble, this at least gives us an escape hatch.
2015-10-29 14:35:55 -07:00
Hixie f069ac2427 Loosen the sky_tools dependency on flx 2015-10-29 14:33:30 -07:00
Hixie 7aa05d4bce Release 0.0.30. 2015-10-29 14:24:35 -07:00
Matt Perry cbd4931579 Merge pull request #140 from mpcomplete/pubspec
Depend on exact version of flx package so I can make breaking changes.
2015-10-29 16:44:00 -04:00
Matt Perry 30ad6ebaae Depend on exact version of flx package so I can make breaking changes. 2015-10-29 16:40:13 -04:00
Devon Carew 0da7c7c6ac upgrade test 2015-10-29 11:42:02 -07:00
Devon Carew b15bcc5c64 0.0.29 2015-10-29 11:32:54 -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
Hixie 672976aa0a Rev the Dart SDK
We also have to require a newer test package, since the old one depends
on a version of the analyzer that uses dart:profiler, which is gone and
replaced by dart:developer.
2015-10-28 09:58:11 -07:00
Matt Perry a0886508c9 Update flutter_tools to version 0.0.27. 2015-10-26 15:29:44 -04: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
Chinmay Garde 6b2d6fdc8c Update pubspec and changelog for 0.0.26 2015-10-23 14:54:03 -07:00
Nathan Kerr 24fe7efa28 Don't rely on external shasum program to calculate sum of the APK. 2015-10-23 09:30:03 -07:00
Devon Carew d4940c5cd4 set a min. dep of sdk 1.13 2015-10-20 19:01:05 -07:00
Matt Perry b53e726404 Update flutter_tools version to 0.0.25. 2015-10-19 16:33:54 -04:00
Matt Perry b458935b84 Support signing flx packages with ECDSA key pair
Adds a --private-key option to the build command, which specifies an ECDSA
private key. When this is provided along with a manifest, the manifest is
prepended to the .flx package and signed with the private key. The manifest
also includes a SHA-256 hash of the zipped content portion of the .flx package.

This is used by the Flutter updater package, to verify that updates are
from the right publisher.
2015-10-19 16:08:53 -04:00
Devon Carew 1999db2973 0.0.24 2015-10-18 12:37:59 -07:00