-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathUpdateRepos_Basic.ps1
More file actions
47 lines (31 loc) · 1.66 KB
/
UpdateRepos_Basic.ps1
File metadata and controls
47 lines (31 loc) · 1.66 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Clones or updates the basic IGLib repositories in iglibmodules.
Write-Host "`n`nCloning / updating BASIC IGLib repositories in iglibmodules ...`n"
# 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 "`nUpdating BASIC IGLib repositories:`n"
Write-Host "Script directory: $scriptDir"
Write-Host "`nUpdating IGLibCore:"
& $(Join-Path $scriptDir "_scripts/UpdateRepo_IGLibCore.ps1")
Write-Host "`nUpdating IGLibScripts:"
& $(Join-Path $scriptDir "_scripts/UpdateRepo_IGLibScripts.ps1")
Write-Host "`nUpdating IGLibScripting:"
& $(Join-Path $scriptDir "_scripts/UpdateRepo_IGLibScripting.ps1")
Write-Host "`nUpdating IGLibScriptingCs:"
& $(Join-Path $scriptDir "_scripts/UpdateRepo_IGLibScriptingCs.ps1")
Write-Host "`nUpdating IGLibGraphics3D:"
& $(Join-Path $scriptDir "_scripts/UpdateRepo_IGLibGraphics3D.ps1")
Write-Host "`nUpdating IGLibSandbox:"
& $(Join-Path $scriptDir "_scripts/UpdateRepo_IGLibSandbox.ps1")
Write-Host "`nUpdating IGLibApps:"
& $(Join-Path $scriptDir "_scripts/UpdateRepo_IGLibApps.ps1")
# Remarks:
# Updating IGLibEventAggregator was moved to UpdateRepos_Extended.ps1
# Updating iglearn & embedded repos was moved to UpdateReposLrn.ps1
# # 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 basic repositories in iglibmodules/ completed.`n`n"