Files
sdk/pkg/dartdev/lib/src
Daco Harkes de4e077ac6 [dartdev] Progress updates for running hooks
Shows a progress update on the interactive terminal for running hooks.
The progress update visually aligns with progress updates from pub
`Building package executable... (1.3s)` as
`Running build hooks... (0.7s)`.
Closes: https://github.com/dart-lang/native/issues/2439

Progress updates visibility:

* `dart run`, only if there are hooks to avoid cluttering stdout more.
  https://github.com/dart-lang/sdk/issues/61696
* `dart test`, also only if there are any hooks.
* `dart build`, always show progress update lines.
* `dart install`, always show progress updates lines.
* `dart compile`, changed the check to check for the existence of hooks
  but don't ever run them.

This CL also renames some "native assets" to "build hooks".

This CL also fixes an issue with `dart test` run without `pub get` in
a Flutter project.
Closes: https://github.com/dart-lang/sdk/issues/61697

Change-Id: I88f6e07dff1d4f5c0733f83f073640b75cc54e79
Cq-Include-Trybots: luci.dart.try:pkg-linux-debug-try,pkg-linux-release-arm64-try,pkg-linux-release-try,pkg-mac-release-arm64-try,pkg-mac-release-try,pkg-win-release-arm64-try,pkg-win-release-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/453920
Reviewed-by: Michael Goderbauer <goderbauer@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
2025-10-09 05:42:33 -07:00
..
2025-08-13 01:33:59 -07:00
2025-08-13 01:33:59 -07:00
2025-09-23 01:02:15 -07:00
2025-05-01 02:18:11 -07:00
2025-01-09 09:03:32 -08:00
2025-08-13 01:33:59 -07:00