From e8df5794cd3810d766c5ab66bfb3746b9d451f8e Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 12 Jan 2022 15:18:50 +0100 Subject: [PATCH] Update pull-repo.ps1 --- Scripts/pull-repo.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" }