@@ -8,7 +8,7 @@ function Save-ChocoPackage {
88 Remove-Item " $env: ChocolateyInstall \lib\$PackageName \package" - Recurse
99 Remove-Item " $env: ChocolateyInstall \lib\$PackageName \[Content_Types].xml"
1010 New-Item - Path " ${PSScriptRoot} \..\tmp\chocolatey\$PackageName " - ItemType " directory" - ErrorAction:SilentlyContinue
11- choco pack " $env: ChocolateyInstall \lib\$PackageName \$PackageName .nuspec" -- outdir " ${PSScriptRoot} \..\tmp\chocolatey\$PackageName "
11+ choco pack " $env: ChocolateyInstall \lib\$PackageName \$PackageName .nuspec" -- outdir " ${PSScriptRoot} \..\tmp\chocolatey\$PackageName " -- no - progress
1212}
1313
1414# Check for existence of required environment variables
@@ -19,43 +19,43 @@ if ( $null -eq $env:ChocolateyInstall ) {
1919
2020# Add the cached packages with source priority 1 (Chocolatey community is 0)
2121New-Item - Path " ${PSScriptRoot} \..\tmp\chocolatey" - ItemType " directory" - ErrorAction:SilentlyContinue
22- choco source add -- name= " cache" -- source= " ${PSScriptRoot} \..\tmp\chocolatey" -- priority= 1
22+ choco source add -- name= " cache" -- source= " ${PSScriptRoot} \..\tmp\chocolatey" -- priority= 1 -- no - progress
2323
2424# Install nodejs v20.5.1 (will use cache if exists)
2525$nodejs = " nodejs"
26- choco install " $nodejs " -- version= " 20.5.1" -- require- checksums - y
26+ choco install " $nodejs " -- version= " 20.5.1" -- require- checksums - y -- no - progress
2727# Internalise nodejs to cache if doesn't exist
2828if ( -not (Test-Path - Path " ${PSScriptRoot} \..\tmp\chocolatey\$nodejs \$nodejs .20.5.1.nupkg" - PathType Leaf) ) {
2929 Save-ChocoPackage - PackageName $nodejs
3030}
3131
3232# Install rust v1.68.0 (will use cache if exists)
3333$rust = " rust-ms"
34- choco install " $rust " -- version= " 1.68.0" -- require- checksums - y
34+ choco install " $rust " -- version= " 1.68.0" -- require- checksums - y -- no - progress
3535# Internalise rust to cache if doesn't exist
3636if ( -not (Test-Path - Path " ${PSScriptRoot} \..\tmp\chocolatey\$rust \$rust .1.68.0.nupkg" - PathType Leaf) ) {
3737 Save-ChocoPackage - PackageName $rust
3838}
3939
4040# Install llvm v16.0.3 (will use cache if exists)
4141$llvm = " llvm"
42- choco install " $llvm " -- version= " 16.0.3" -- require- checksums - y
42+ choco install " $llvm " -- version= " 16.0.3" -- require- checksums - y -- no - progress
4343# Internalise rust to cache if doesn't exist
4444if ( -not (Test-Path - Path " ${PSScriptRoot} \..\tmp\chocolatey\$llvm \$llvm .16.0.3.nupkg" - PathType Leaf) ) {
4545 Save-ChocoPackage - PackageName $llvm
4646}
4747
4848# Install nasm v2.16.01.20221231 (will use cache if exists)
4949$nasm = " nasm"
50- choco install " $nasm " -- version= " 2.16.01.20221231" -- require- checksums - y
50+ choco install " $nasm " -- version= " 2.16.01.20221231" -- require- checksums - y -- no - progress
5151# Internalise rust to cache if doesn't exist
5252if ( -not (Test-Path - Path " ${PSScriptRoot} \..\tmp\chocolatey\$nasm \$nasm .2.16.01.20221231.nupkg" - PathType Leaf) ) {
5353 Save-ChocoPackage - PackageName $nasm
5454}
5555
5656# Install Windows SDK v10.0.22621.2 (will use cache if exists)
5757$windowsSdk = " windows-sdk-11-version-22h2-all"
58- choco install $windowsSdk -- version= " 10.0.22621.2" -- require- checksums - y
58+ choco install $windowsSdk -- version= " 10.0.22621.2" -- require- checksums - y -- no - progress
5959# Internalise rust to cache if doesn't exist
6060if ( -not (Test-Path - Path " ${PSScriptRoot} \..\tmp\chocolatey\$windowsSdk \$windowsSdk .10.0.22621.2.nupkg" - PathType Leaf) ) {
6161 Save-ChocoPackage - PackageName $windowsSdk
0 commit comments