33[CmdletBinding ()]
44param (
55 [Parameter ()]
6- [ValidateSet (" .net" , " InvokeBuild" , " ThirdPartyLibraries" )]
6+ [ValidateSet (' .net' , ' InvokeBuild' , ' ThirdPartyLibraries' )]
77 [string []]
8- $List = (" .net" , " InvokeBuild" , " ThirdPartyLibraries" )
8+ $List = (' .net' , ' InvokeBuild' , ' ThirdPartyLibraries' )
99)
1010
1111Set-StrictMode - Version Latest
12- $ErrorActionPreference = " Stop"
12+ $ErrorActionPreference = ' Stop'
1313
14- . (Join-Path $PSScriptRoot " scripts/Get-ModuleVersion.ps1" )
15- . (Join-Path $PSScriptRoot " scripts/Invoke-InstallDotNet.ps1" )
16- . (Join-Path $PSScriptRoot " scripts/Invoke-InstallModule.ps1" )
14+ . (Join-Path $PSScriptRoot ' scripts/Get-ModuleVersion.ps1' )
15+ . (Join-Path $PSScriptRoot ' scripts/Invoke-InstallDotNet.ps1' )
16+ . (Join-Path $PSScriptRoot ' scripts/Invoke-InstallModule.ps1' )
1717
18- if (" .net" -in $List ) {
19- Invoke-InstallDotNet - Version " 6.0.419"
20- Invoke-InstallDotNet - Version " 7.0.406"
18+ if (' .net' -in $List ) {
19+ Invoke-InstallDotNet - Version ' 6.0.422'
20+ Invoke-InstallDotNet - Version ' 8.0.403'
21+ Invoke-InstallDotNet - Version ' 9.0.100-rc.2.24474.11'
2122
22- $version = (Get-Content - Raw (Join-Path $PSScriptRoot " ../Sources/global.json" ) | ConvertFrom-Json ).sdk.version
23+ $version = (Get-Content - Raw (Join-Path $PSScriptRoot ' ../Sources/global.json' ) | ConvertFrom-Json ).sdk.version
2324 Invoke-InstallDotNet - Version $version
2425}
2526
26- if (" InvokeBuild" -in $List ) {
27- $version = Get-ModuleVersion " InvokeBuild"
28- Invoke-InstallModule - Name " InvokeBuild" - Version $version
27+ if (' InvokeBuild' -in $List ) {
28+ $version = Get-ModuleVersion ' InvokeBuild'
29+ Invoke-InstallModule - Name ' InvokeBuild' - Version $version
2930}
3031
31- if (" ThirdPartyLibraries" -in $List ) {
32- $version = Get-ModuleVersion " ThirdPartyLibraries"
33- Invoke-InstallModule - Name " ThirdPartyLibraries" - Version $version
32+ if (' ThirdPartyLibraries' -in $List ) {
33+ $version = Get-ModuleVersion ' ThirdPartyLibraries'
34+ Invoke-InstallModule - Name ' ThirdPartyLibraries' - Version $version
3435}
0 commit comments