Jason Simmons
789bfa4271
Do not throw when resolving a local engine if the .packages map does not include the flutter package ( #5519 )
2016-08-19 14:40:14 -07:00
Adam Barth
639532bd51
Don't pick up Android SDK from local engine ( #4801 )
...
It can cause trouble if the user has a newer Android SDK installed normally.
Instead, just use the normal Android SDK.
2016-06-30 15:47:56 -07:00
Ian Hickson
0d21e69b1d
Fix flutter upgrade and flutter build ios ( #4564 )
...
* Fix `flutter upgrade`
* Fix builds on iOS
2016-06-14 18:16:55 -07:00
Ian Hickson
294376fb01
fix reentrant locking in pub upgrade ( #4556 )
2016-06-14 12:39:20 -07:00
Ian Hickson
f92f71feb9
Lock flutter tool while updating artifacts ( #4476 )
...
This prevents multiple simultaneous runs of the analyzer from stomping
over each other (e.g. multiple runs of 'update-packages'). Certain
long-lived commands (like analyze, run, logs) are exempted once they've
done enough work to be safe from most stomping action.
This still doesn't make us entirely safe from craziness, e.g. if you're
half way through an 'update-packages' run and you call 'git pull', who
knows what state you'll end up in. But there's only so much one can do.
Fixes https://github.com/flutter/flutter/issues/2762
2016-06-14 10:16:08 -07:00
Ian Hickson
2b2d782503
"--watch --flutter-repo" wasn't analyzing flutter ( #4548 )
2016-06-13 19:19:35 -07:00
Ian Hickson
c9bcf1074e
Analyzer was confused when you deleted files ( #4528 )
...
Also, make it clear the screen between results so it's more obvious
what's going on when you have new results (especially when you have
fixed everything).
2016-06-13 12:20:03 -07:00
Devon Carew
3ba17136b7
add a restart command to the daemon protocol ( #4385 )
...
* refactor the --resident run option into a separate file
* update daemon to run --resident apps
* re-plumbing daemon start
* send app logs
* update tests
* review changes
* fix test runner
* remove PackageMap.createGlobalInstance; rely on the ctor
* review comments
2016-06-07 12:13:35 -07:00
Devon Carew
958fb0f888
Update flutter_command_runner.dart ( #4398 )
2016-06-06 15:35:31 -07:00
Devon Carew
646b5350d1
resolve symlinks in paths to flutter ( #4219 )
...
* resolve symlinks in paths to flutter
* review comments
2016-05-26 14:41:33 -07:00
Devon Carew
d6aed1e7c9
add a --quiet option to flutter_tools ( #4213 )
2016-05-26 13:41:29 -07:00
Todd Volkert
239a717dcc
Revert "Pass the local engine config through Xcode ( #4190 )"
...
This reverts commit 8f69cccc182481024fa2fa4f9ef932cdba91c812.
2016-05-26 11:03:08 -07:00
Adam Barth
8f69cccc18
Pass the local engine config through Xcode ( #4190 )
...
This passes the information through Xcode to the `flutter build aot` call via
the environment so that it picks up the right artifacts.
Fixes #4186
2016-05-25 14:33:22 -07:00
Devon Carew
1ae0a76cf9
warn when flutter doesn't match the pubspec version ( #4109 )
2016-05-23 12:23:05 -07:00
Devon Carew
a48b063a10
rebuild when the build type changes ( #4032 )
...
* rebuild when the build type changes
* handle local engine builds
* also check the timestamp
2016-05-19 12:49:40 -07:00
Devon Carew
483922d15c
allow per-command analytics suppression ( #3919 )
...
* allow per-command analytics suppression
* rev the usage package dep
2016-05-15 20:06:27 -07:00
Jason Simmons
32846de9f8
Remove ArtifactStore and move flutterRoot into Cache ( #3883 )
2016-05-12 15:54:35 -07:00
Jason Simmons
a590ee2671
Remove BuildConfigurations ( #3879 )
...
Artifacts from local engine builds will be found based on the --local-engine flag
2016-05-12 12:22:15 -07:00
Jason Simmons
0f53f7966b
Remove Toolchain and extend ToolConfiguration to locate host tools such as sky_snapshot ( #3870 )
...
Host tools can be found in the artifact cache directory for the host platform.
If a developer wants to use a local engine build instead, then provide an
--engine-build flag that selects the specific engine build variant.
2016-05-11 15:47:26 -07:00
Jason Simmons
82dbd43e74
Fix the paths for local engine builds targeting the host platform ( #3855 )
2016-05-11 11:11:34 -07:00
Devon Carew
826936cd33
use vendored dart sdk; check the expected version of flutter ( #3831 )
...
* use vendored dart sdk; check the expected version of flutter
* search up directories looking for the flutter root
2016-05-10 16:21:30 -07:00
Jason Simmons
6ab77622e4
Update flutter_tools for the "unoptimized" engine build flag and the new output directory naming scheme ( #3832 )
2016-05-10 12:02:09 -07:00
Devon Carew
bd564a02af
avoid sending analytics on ci systems ( #3765 )
...
* avoid sending analytics on ci systems
* review comments
2016-05-05 19:51:22 -07:00
Devon Carew
61c003734b
checked mode fix; add type annotation ( #3737 )
2016-05-04 13:41:46 -07:00
Devon Carew
adac927501
add google analytics to flutter_tools ( #3523 )
...
* add google analytics
* send in the run target type
* track device type targets
* use the real GA code
* review comments
* rev to usage 2.0
* rev to 2.2.0 of usage; add tests
* review comments
2016-04-26 16:25:11 -07:00
Devon Carew
29fdc7a464
rename the --release and --debug flags ( #3382 )
2016-04-18 13:04:59 -07:00
Devon Carew
f132acaf1d
use the new cache code to locate more artifacts ( #3361 )
...
* use the new cache code to locate more artifacts
* add todo
* review comments
2016-04-15 21:08:03 -07:00
Devon Carew
4678c12098
find all repo packages ( #3368 )
...
* find all repo packages
* .dartignore
2016-04-15 20:25:57 -07:00
Devon Carew
b4173e20d4
fix to showing a progress display for long tasks ( #3265 )
2016-04-12 08:39:24 -07:00
Devon Carew
2a33e3f0c0
make flutter upgrade less verbose ( #3237 )
...
* more terse flutter upgrade
* fix an issue when updating and the engine update code has changed
* call flutter precache; add a --no-color hidden option
* fix a lint related to getters/setters
2016-04-11 11:17:09 -07:00
Devon Carew
1311ae6ffe
add a target for android-x64 ( #3224 )
...
* add a target for android-x64
* update armeabi-v7a to x86_64
2016-04-08 14:04:46 -07:00
Devon Carew
39efe4afef
have flutter build emit better help text
2016-04-06 14:29:54 -07:00
Devon Carew
fe37825fd5
run pub with --no-package-symlinks
2016-03-29 19:02:14 -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
2fc8e9a110
create a crash report
2016-03-25 13:29:15 -07:00
Devon Carew
d4185802cd
print the os from flutter doctor
2016-03-24 00:00:37 -07:00
Devon Carew
25f332d8d7
re-work the doctor command
2016-03-23 21:12:29 -07:00
Chinmay Garde
c8377d7428
Dont differentiate between ios_arm and ios_x64 in flutter_tools
...
All artifacts for iOS are universal.
2016-03-21 14:41:26 -07:00
Hixie
797e27edd3
Add @override annotations to flutter framework
2016-03-14 14:02:26 -07:00
Devon Carew
e939b152af
rename the platform constants
2016-03-12 11:08:21 -08:00
Hixie
e6b82b6fa9
flutter analyze test
...
Test that flutter analyze catches no error if two imported libraries
have the same name.
Also, make tests know how to find the flutter root and fix style in one
test to be consistent with the rest of the file.
2016-03-11 14:26:38 -08:00
Devon Carew
4d93c376c9
improve verbose output
2016-02-27 23:36:02 -08:00
Hixie
71c8a96fb9
Fix --debug
...
...and some style nits.
2016-02-23 11:10:52 -08:00
Devon Carew
d5a6fceee5
add a summary option to the doctor class
2016-02-17 09:33:45 -08:00
Devon Carew
cc72bbc7ec
rename list->devices, start->run
2016-02-13 23:50:20 -08:00
Devon Carew
dcf0b7bae6
allow any android sdk version
2016-02-13 14:37:41 -08:00
Devon Carew
2dbceafbc6
introduce globals scoped to the app's context
2016-02-09 22:03:13 -08:00
Devon Carew
4200378d3c
add docs for -h -v
2016-02-03 00:13:12 -08:00
Devon Carew
78e05884ed
refactor flutter logs
2016-02-01 12:56:46 -08:00
Devon Carew
09cca3b34c
massage the help text
2016-01-29 14:32:12 -08:00