diff --git a/Scripts/pull-repo.ps1 b/Scripts/pull-repo.ps1 index 856d0e37..569c0c9e 100755 --- a/Scripts/pull-repo.ps1 +++ b/Scripts/pull-repo.ps1 @@ -16,9 +16,9 @@ param([string]$RepoDir = "$PWD") try { - "🢃 Pulling updates..." $StopWatch = [system.diagnostics.stopwatch]::startNew() + "⏳ (1/3) Checking requirements... " if (-not(test-path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" } set-location "$RepoDir" @@ -29,9 +29,11 @@ try { exit 0 # success } + "⏳ (2/3) Pulling updates... " & git pull --recurse-submodules --jobs=4 if ($lastExitCode -ne "0") { throw "'git pull' failed" } + "⏳ (3/3) Updating submodules... " & git submodule update --init --recursive if ($lastExitCode -ne "0") { throw "'git submodule update' failed" }