Andrew Kolos
06e2b18173
[tools] use Java class for all java-searching behavior ( #127354 )
...
Fixes #124252 , finishing work on the umbrella tracking issue, #126126 .
Essentially, after this PR, no (non-test) code should be be referencing/invoking the java home or binary paths.
2023-06-01 04:19:19 +00:00
Jackson Gardner
ac9b501dc2
Remove the old canvaskit artifacts to not confuse the web runner. ( #124641 )
...
Remove the old canvaskit artifacts to not confuse the web runner.
2023-04-12 16:57:41 +00:00
Christopher Fujino
902dac4763
ensure no pub output while caching PubDependencies artifact ( #121831 )
...
[flutter_tools] ensure no pub output while caching PubDependencies artifact
2023-03-03 02:40:14 +00:00
godofredoc
9d94a51b60
Move linux-x64-flutter-gtk.zip to linux-x64-debug location. ( #120658 )
...
* Move linux-x64-flutter-gtk.zip to linux-x64-debug location.
linux-x64-flutter-gtk.zip is being uploaded twice to linux-x64-debug
and linux-x64 as part of making a soft transition to use linux-x64-debug
location. This PR starts using the copy inside linux-x64-debug to later
remove the duplicated upload.
* Also move arm64.
* Do not override output dir.
2023-02-15 00:00:23 +00:00
Jesús S Guerrero
f767f860eb
check if directory exists before listing content ( #119748 )
2023-02-02 03:02:11 +00:00
Alex Li
8d0af36798
🥅 Produce warning instead of error for storage base url overrides ( #119595 )
...
* 🥅 Only log warning for storage base url
* ✅ Add test
* ✅ Add the link to the test
* ✅ Remove the test
* ✅ Remove the extra import
2023-02-01 03:49:31 +00:00
Harry Terkelsen
42bd5f2bd1
Download platform-agnostic Flutter Web SDK in the flutter_tool ( #118654 )
2023-01-26 14:21:05 -08:00
Andrew Kolos
ee1c59d462
reduce pub output from flutter create ( #118285 )
...
* reduce pub output from flutter create
* fix fake Pub implementations
* fix tests
* Update pub.dart
* replace enum with simpler boolean
* fix tests
* Revert "fix tests"
This reverts commit 8a3182d3b9
.
* Revert "replace enum with simpler boolean"
This reverts commit 445dbc443d
.
* go back to using an enum
2023-01-12 21:42:02 +00:00
Sigurd Meldgaard
b7881e5b64
Align flutter pub get/upgrade/add/remove/downgrade
( #117896 )
...
* Align `flutter pub get/upgrade/add/remove/downgrade`
* Add final . to command description
* Remove trailing whitespace
* Don't print message that command is being run
* Update expectations
* Use relative path
* Remove duplicated line
* Improve function dartdoc
2023-01-10 23:29:09 +00:00
Harry Terkelsen
529184bcca
[flutter_tool] Don't download CanvasKit if it's already in flutter_web_sdk ( #113072 )
2022-10-07 10:28:49 -07:00
Sigurd Meldgaard
d80e994a62
Reland: Show output from pub get in flutter pub get ( #110851 )
2022-09-08 15:13:23 +02:00
Zachary Anderson
c6ec84e978
[flutter_tools] Pull more arm64 artifacts on Apple Silicon ( #110291 )
2022-08-29 10:33:24 -07:00
Zachary Anderson
0e195e9d46
Revert "Show output from pub get
in flutter pub get
( #106300 )" ( #110478 )
...
This reverts commit 3802eb627e
.
2022-08-29 08:02:50 -07:00
Sigurd Meldgaard
3802eb627e
Show output from pub get
in flutter pub get
( #106300 )
2022-08-29 07:37:19 +00:00
Jesús S Guerrero
fc3471fd28
check for pubspec instead of lib/ ( #107968 )
2022-07-21 17:03:09 +00:00
Jonah Williams
db829c1e20
[flutter_tools] migrate more unit tests to null safety ( #106153 )
2022-06-17 21:34:27 -07:00
Christopher Fujino
589dd8028b
[flutter_tools] print override storage warning to STDERR instead of STDOUT ( #106068 )
2022-06-15 23:22:06 +00:00
Michael Goderbauer
3fa355c97d
Remove dead code in tools tests ( #104567 )
2022-05-25 12:48:17 -07:00
Alexandre Ardhuin
07f1c20474
add missing trailing commas in list/set/map literals ( #102585 )
2022-04-27 09:15:35 +02:00
Jonah Williams
944fcda67f
[flutter_tools] remove UWP tooling ( #102174 )
2022-04-26 11:19:07 -07:00
Jesús S Guerrero
3394fb4a58
[flutter_tools] fix flutter create --offline ( #100941 )
...
Co-authored-by: Christopher Fujino <christopherfujino@gmail.com>
2022-04-07 17:05:49 -07:00
Jesús S Guerrero
50f3e47b67
Revert "[flutter_tools] remove pub dependencies from universal #97722 " ( #100508 )
2022-03-21 19:20:10 -07:00
Jesús S Guerrero
f523ddd2d6
[flutter_tools] remove pub dependencies from universal ( #97722 )
2022-02-12 12:10:11 -08:00
Zachary Anderson
e50ca9acbc
Reland: [flutter_tool] Download gen_snapshot.zip for macOS desktop ( #97671 )
2022-02-02 14:43:55 -08:00
Zachary Anderson
f82c020071
Revert "[flutter_tool] Download gen_snapshot.zip for macOS desktop ( #97627 )" ( #97664 )
...
This reverts commit 32abf42a00
.
2022-02-02 11:29:28 -08:00
Zachary Anderson
32abf42a00
[flutter_tool] Download gen_snapshot.zip for macOS desktop ( #97627 )
2022-02-02 10:21:31 -08:00
Yegor
a2a888ec13
make CIPD url customizable using FLUTTER_STORAGE_BASE_URL ( #94137 )
2021-11-24 07:53:03 -08:00
Jason Simmons
e9519d8a1a
Restore Cache.flutterRoot after overriding it in a test ( #93555 )
...
Fixes https://github.com/flutter/flutter/issues/93553
2021-11-12 10:32:13 -08:00
Kenzie (Schmoll) Davisson
7748731903
Add DevTools version to flutter --version
and flutter doctor -v
output. ( #93065 )
...
* Add DevTools version to `flutter --version` output.
* review comments
* fix test
* add explanatory comment
* dummy commit to kick bots
Co-authored-by: Christopher Fujino <christopherfujino@gmail.com>
2021-11-11 14:40:22 -08:00
Greg Spencer
52ae102f18
Adds tool warning log level and command line options to fail on warning/error output ( #92031 )
2021-11-10 16:13:04 -08:00
Jenn Magder
9e88fe328e
Remove globals_null_migrated.dart, move into globals.dart ( #92861 )
2021-11-01 17:18:03 -07:00
Yegor
ad7727a21c
[web] enable CanvasKit tests using a local bundle fetched from CIPD ( #92134 )
2021-10-21 11:13:18 -07:00
Ian Hickson
61a0add286
Enable avoid_redundant_argument_values lint ( #91409 ) ( #91462 )
2021-10-08 09:25:14 -07:00
Zachary Anderson
b9d2177da0
Revert "Enable avoid_redundant_argument_values lint ( #91409 )" ( #91461 )
...
This reverts commit 5fd259be24
.
2021-10-07 21:11:07 -07:00
Ian Hickson
5fd259be24
Enable avoid_redundant_argument_values lint ( #91409 )
2021-10-07 20:13:02 -07:00
Greg Spencer
01af8e5987
Make flutter update-packages
run in parallel ( #91006 )
...
This modifies the flutter update-packages and flutter update-packages --force-upgrade commands so that the many invocations of "dart pub get" in each repo project run in parallel instead of in series.
2021-09-30 10:26:31 -07:00
Michael Thomsen
b889915997
Change min Dart SDK constraint to track actual version ( #88743 )
2021-09-14 14:08:36 +02:00
Jonah Williams
fa0782b696
reassign jonahwilliams todos ( #88707 )
2021-08-23 12:27:07 -07:00
Darren Austin
b08366ce7b
Updated skipped tests for flutter_tools. ( #87925 )
...
* Updated skipped tests for flutter_tools.
* Turned the flaky overall_experience test off as it was still failing on CI.
2021-08-10 22:22:08 -07:00
Greg Spencer
0bab3604b0
Make the startup lock message print to stderr. ( #86520 )
...
This changes the "Waiting for another flutter command to release the startup lock..." message output so that it appears on stderr instead of stdout. When it appears on stdout, it can mess up collection of the output. For instance, if you run flutter --version --machine and you're expecting JSON output, then you'll get non-JSON output even though the lock is released and you eventually would get what you're asking for.
2021-07-28 15:12:03 -07:00
Remi Rousselet
1995da2c0c
Disable the automatic "pub get" if the project is using a third-party tool for linking dependencies. ( #86177 )
2021-07-19 08:06:03 -07:00
Ahmed Ashour
76db0d7428
Fix typo in test class ( #84961 )
2021-07-01 13:46:03 -07:00
Jenn Magder
d145938406
Migrate flutter_cache to null safety ( #85242 )
2021-06-25 10:56:03 -07:00
Jonah Williams
cb2eef04ed
[flutter_tools] remove remaining mocks from cache_test.dart ( #84218 )
2021-06-08 17:42:11 -07:00
Jonah Williams
3638c41959
[flutter_tools] remove more mocks from cache_test ( #83522 )
2021-06-04 11:24:06 -07:00
Sam Rawlins
e9e3c08fd8
Remove "unnecessary" imports. ( #82662 )
2021-05-17 09:39:04 -07:00
Jonah Williams
9805df890f
remove more mocks ( #82592 )
2021-05-14 19:15:19 -07:00
Jonah Williams
ed85dd49c7
[flutter_tools] use try to delete in web cache ( #82478 )
2021-05-13 21:44:02 -07:00
Alexandre Ardhuin
7d46d43635
use throwsXxx instead of throwsA(isA<Xxx>()) ( #82328 )
2021-05-12 09:59:02 -07:00
Alexandre Ardhuin
4881b33515
use throwsA matcher instead of try-catch-fail ( #82290 )
2021-05-11 23:34:02 -07:00