From 7c6fd2308324aadc663c50ae32afa8bb4b5e4983 Mon Sep 17 00:00:00 2001 From: bryanoltman Date: Wed, 3 May 2023 12:08:39 -0400 Subject: [PATCH] fix(shorebird_cli): add more logging when rebuilding shorebird on Windows --- bin/shorebird.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/shorebird.ps1 b/bin/shorebird.ps1 index 928a51de3..bd525ed3f 100644 --- a/bin/shorebird.ps1 +++ b/bin/shorebird.ps1 @@ -14,6 +14,8 @@ $shorebirdScript = [IO.Path]::Combine($shorebirdCliDir, "bin", "shorebird.dart") $dart = [IO.Path]::Combine($flutterPath, "bin", "cache", "dart-sdk", "bin", "dart.exe") function Update-Flutter { + Write-Output "Updating Flutter..." + if (!(Test-Path $flutterPath)) { Write-Output "Cloning flutter, this may take a bit..." git clone --filter=tree:0 https://github.com/shorebirdtech/flutter.git --no-checkout "$flutterPath" *> $null @@ -71,6 +73,8 @@ function Update-Shorebird { Write-Debug "Invalidate cache: $invalidateCache" if ($invalidateCache) { + Write-Output "Rebuilding shorebird..." + Update-Flutter Push-Location $shorebirdCliDir