@@ -8,7 +8,7 @@ function Save-ChocoPackage {
8
8
Remove-Item " $env: ChocolateyInstall \lib\$PackageName \package" - Recurse
9
9
Remove-Item " $env: ChocolateyInstall \lib\$PackageName \[Content_Types].xml"
10
10
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
12
12
}
13
13
14
14
# Check for existence of required environment variables
@@ -19,43 +19,43 @@ if ( $null -eq $env:ChocolateyInstall ) {
19
19
20
20
# Add the cached packages with source priority 1 (Chocolatey community is 0)
21
21
New-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
23
23
24
24
# Install nodejs v20.5.1 (will use cache if exists)
25
25
$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
27
27
# Internalise nodejs to cache if doesn't exist
28
28
if ( -not (Test-Path - Path " ${PSScriptRoot} \..\tmp\chocolatey\$nodejs \$nodejs .20.5.1.nupkg" - PathType Leaf) ) {
29
29
Save-ChocoPackage - PackageName $nodejs
30
30
}
31
31
32
32
# Install rust v1.68.0 (will use cache if exists)
33
33
$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
35
35
# Internalise rust to cache if doesn't exist
36
36
if ( -not (Test-Path - Path " ${PSScriptRoot} \..\tmp\chocolatey\$rust \$rust .1.68.0.nupkg" - PathType Leaf) ) {
37
37
Save-ChocoPackage - PackageName $rust
38
38
}
39
39
40
40
# Install llvm v16.0.3 (will use cache if exists)
41
41
$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
43
43
# Internalise rust to cache if doesn't exist
44
44
if ( -not (Test-Path - Path " ${PSScriptRoot} \..\tmp\chocolatey\$llvm \$llvm .16.0.3.nupkg" - PathType Leaf) ) {
45
45
Save-ChocoPackage - PackageName $llvm
46
46
}
47
47
48
48
# Install nasm v2.16.01.20221231 (will use cache if exists)
49
49
$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
51
51
# Internalise rust to cache if doesn't exist
52
52
if ( -not (Test-Path - Path " ${PSScriptRoot} \..\tmp\chocolatey\$nasm \$nasm .2.16.01.20221231.nupkg" - PathType Leaf) ) {
53
53
Save-ChocoPackage - PackageName $nasm
54
54
}
55
55
56
56
# Install Windows SDK v10.0.22621.2 (will use cache if exists)
57
57
$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
59
59
# Internalise rust to cache if doesn't exist
60
60
if ( -not (Test-Path - Path " ${PSScriptRoot} \..\tmp\chocolatey\$windowsSdk \$windowsSdk .10.0.22621.2.nupkg" - PathType Leaf) ) {
61
61
Save-ChocoPackage - PackageName $windowsSdk
0 commit comments