-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathUpdateReposLrn.ps1
More file actions
27 lines (16 loc) · 852 Bytes
/
UpdateReposLrn.ps1
File metadata and controls
27 lines (16 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Clones or updates the learning repositories - iglearn/ and its embedded
# repos like wiki.IGLib & learn_sluzba
# iglibmodules/
Write-Host "`n`nCloning / updating LEARNING repositories in iglibmodules/ ..."
Write-Host "Location: iglearn/ ..."
# Get the script directory such that relative paths can be resolved:
$scriptPath = $MyInvocation.MyCommand.Path
$scriptDir = Split-Path $scriptPath -Parent
$scriptFilename = [System.IO.Path]::GetFileName($scriptPath)
Write-Host "Script directory: $scriptDir"
# Update learning repo as part of IGLibBasic:
Write-Host "`nUpdating iglearn:"
& $(Join-Path $scriptDir "_scripts/UpdateRepo_iglearn.ps1")
Write-Host "`nUpdating iglearn's embedded repos:"
& $(Join-Path $scriptDir "iglearn/UpdateRepoGroup_OtherRepos.ps1")
Write-Host " ... updating LEARNING repositoris in iglibmodules/ completed.`n`n"