Jason Simmons
fad5e4cf89
Remove a redundant test case in the flutter_tools create_test ( #89872 )
2021-09-13 13:37:07 -07:00
Jenn Magder
51588ab808
Set plugin template minimum Flutter SDK to 2.5 ( #89695 )
2021-09-09 20:42:03 -07:00
Jason Simmons
a14be9d290
Run the flutter_tools create test in online mode before testing offline mode ( #89779 )
...
Offline pub assumes that the pub cache contains all needed packages. Running
"flutter create" in online mode first will ensure that the pub cache is populated.
Fixes https://github.com/flutter/flutter/issues/89759
2021-09-09 13:31:37 -07:00
Emmanuel Garcia
50b0037803
Remove files that are unnecessary in a plugin ( #89445 )
2021-09-07 11:11:05 -07:00
Sigurd Meldgaard
bce366203a
Stop calling top level pub ( #89032 )
...
* Use `dart __deprecated_pub` instead of `pub` to invoke pub from tools
The top level `pub` commmand has been deprecated and will print
a message. It is however implemented via the __deprecated_pub command
that prints no message.
2021-08-30 10:40:10 -07:00
Zachary Anderson
b4e0472b04
Revert "Use dart pub
instead of pub
to invoke pub from tools ( #88509 )" ( #88792 )
...
This reverts commit 7c24ff2c5bfeff34991dba5e7ee210a1085a1e22.
2021-08-24 09:00:22 -07:00
Sigurd Meldgaard
7c24ff2c5b
Use dart pub
instead of pub
to invoke pub from tools ( #88509 )
...
Top level `pub` is being deprecated.
2021-08-24 15:51:08 +02:00
Anurag Roy
758c28b813
[flutter_tools] Reland "Make upgrade only work with standard remotes" ( #87731 )
2021-08-12 15:52:07 -07:00
Jenn Magder
9764d861ca
Support flutter create --platform singular flag ( #88076 )
2021-08-12 11:42:04 -07:00
Jenn Magder
9b1ed4639d
Update flutter create templates for Xcode 13 ( #88074 )
2021-08-12 11:37:04 -07:00
Anurag Roy
ade9f6a9f0
[flutter_tools] Improve toolexit error messages for flutter upgrade
( #86351 )
2021-07-29 22:00:44 -07:00
Greg Spencer
738ce43d97
Randomize tests, exclude tests that fail with randomization. ( #86793 )
...
* Randomize tests, exclude tests that fail with randomization.
* Disable some more tool tests
2021-07-26 23:40:49 -07:00
Jonah Williams
b549e829e8
[flutter_tools] support trailing args ( #86431 )
2021-07-14 15:51:10 -07:00
Jonah Williams
9d70d9d589
[flutter_tools] fix -n workaround ( #86142 )
2021-07-09 09:41:04 -07:00
Filip Hracek
76d5e62f42
Add a more complete app template for Flutter (skeleton) ( #83530 )
2021-06-28 15:26:04 -07:00
Jonah Williams
d5c842c09e
[flutter_tools] make analyze once an integration test ( #85336 )
2021-06-25 12:06:04 -07:00
Greg Spencer
88f3811055
Turn on avoid_dynamic_calls lint, except packages/flutter tests, make appropriate changes. ( #84476 )
...
This adds avoid_dynamic_calls to the list of lints, and fixes all instances where it was violated.
Importantly, this lint is NOT turned on for flutter/packages/test, because those changes are happening in another PR: #84478
2021-06-14 14:16:57 -07:00
Aneesh Rao
1850079a5d
Fix typo in test description ( #84189 )
2021-06-10 14:39:04 -07:00
Aneesh Rao
b4148eb599
Add maskable icons to improve lighthouse score ( #83182 )
2021-06-10 13:49:06 -07:00
Jonah Williams
10840352ce
[flutter_tools] switch flutter sdk to dart format ( #84273 )
2021-06-10 07:54:03 -07:00
Alex Melnyk
23d705c30b
Fix typo in create.dart ( #82454 )
2021-06-08 15:58:01 -07:00
Jenn Magder
c4a2a3e92d
Migrate project.dart and all dependencies to null safety ( #83817 )
2021-06-02 18:41:12 -07:00
Alexandre Ardhuin
34059eec2c
enable lint prefer_interpolation_to_compose_strings ( #83407 )
2021-06-01 11:14:06 -07:00
Christopher Fujino
b9377f358c
Revert "[flutter_tools] Make flutter upgrade
only work with standard remotes ( #79372 )" ( #83423 )
...
This reverts commit c835ad43625e2506d5887987e404ab43e2e594a6.
2021-05-26 10:04:47 -07:00
Anurag Roy
c835ad4362
[flutter_tools] Make flutter upgrade
only work with standard remotes ( #79372 )
2021-05-25 13:19:03 -07:00
Jenn Magder
0d79013a81
Move globals.artifacts to globals_null_migrated, update imports ( #83137 )
2021-05-21 18:35:02 -07:00
Christopher Fujino
24c8ace7b3
fix flake ( #82970 )
2021-05-20 15:18:58 -07:00
Hattomo (TomohiroHattori)
08a70e7ac8
Enable avoid_escaping_inner_quotes lint ( #81153 )
2021-05-19 09:54:02 -07:00
Jenn Magder
8f536ec17b
Default --no-tree-shake-icons to false for 'flutter build bundle' ( #82773 )
2021-05-18 20:34:04 -07:00
Lau Ching Jun
2acd0007d6
Refactor CustomDimensions in analytics to be type safe ( #82531 )
2021-05-18 20:29:03 -07:00
Sam Rawlins
e9e3c08fd8
Remove "unnecessary" imports. ( #82662 )
2021-05-17 09:39:04 -07:00
Chris Bracken
90d978f8fb
Add windowsIdentifier template parameter ( #82588 )
...
Windows package identifiers are globally unique strings, typically a
GUID. These are required for templates that require a Windows package
name as described in
https://docs.microsoft.com/en-us/windows/win32/appxpkg/appx-portal
Fixes https://github.com/flutter/flutter/issues/82587
2021-05-14 17:48:30 -07:00
Jenn Magder
ea21938ccc
Remove symroot from generated iOS Xcode build settings ( #82576 )
2021-05-14 17:09:04 -07:00
Jonah Williams
5d7b40190a
[flutter_tools] remove mocks from downgrade and devices test ( #82579 )
2021-05-14 16:28:39 -07:00
Jonah Williams
a1fa62ad6f
[flutter_tools] remove mocks from build_apk_test ( #82412 )
2021-05-13 12:04:06 -07:00
Michael Goderbauer
532a79c857
Integrate package:flutter_lints into templates ( #81417 )
2021-05-10 16:19:04 -07:00
Jenn Magder
783e1dd22c
Standardize build system environment defines derived from build info ( #81879 )
2021-05-07 17:04:02 -07:00
Jenn Magder
ba4177f6da
Find Android Studio installations with Spotlight query on macOS ( #80475 )
2021-04-28 19:09:03 -07:00
Jenn Magder
cbf885b749
Replace MockAndroidDevice and MockIOSDevice with fakes ( #81352 )
2021-04-28 13:39:02 -07:00
Matej Knopp
f6726b425d
Add support for DarwinArchs when assembling macOS App.framework ( #81243 )
2021-04-28 11:33:36 -07:00
Ian Hickson
6beafa7b16
Apply style guide regarding createTempSync pattern ( #81090 )
2021-04-27 14:59:03 -07:00
Sam Rawlins
cd956c17d2
Remove "unnecessary" imports in flutter_tools ( #81008 )
2021-04-26 10:49:03 -07:00
Jonah Williams
84bc2382f7
[flutter_tools] do not check for pubspec.yaml in packages forward command ( #81059 )
2021-04-23 13:39:20 -07:00
Jonah Williams
b30d97a64c
[flutter_tools] split host artifacts out of Artifacts ( #80876 )
2021-04-22 19:29:02 -07:00
Jenn Magder
a99fba01f1
Move FakeOperatingSystemUtils from context.dart to fakes.dart ( #80916 )
2021-04-22 10:44:02 -07:00
Phil Quitslund
61c30c41b2
fix sort_directives violations ( #80817 )
2021-04-21 13:49:03 -07:00
Hannes Winkler
1f8e9ff7a7
[tool] cleanup bundle builder a bit ( #80740 )
2021-04-21 09:24:02 -07:00
Jenn Magder
16c73829a6
Migrate reporting library to null safety ( #80320 )
2021-04-15 17:01:34 -07:00
Jenn Magder
56c0002c47
Adopt FakeProcessManager.empty ( #80480 )
2021-04-15 14:19:02 -07:00
Christopher Casey
f0c9710493
Add --dart-define to build bundle ( #80333 )
2021-04-13 18:29:40 -07:00