fix(shorebird_cli): add more logging when rebuilding shorebird on Windows (#432)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user