|
@@ -7,6 +7,7 @@ $tarball = "$filename.zip"
|
|
|
|
|
|
|
|
$outdir = $pwd.Path
|
|
$outdir = $pwd.Path
|
|
|
$outdir = "$outdir\.gitlab"
|
|
$outdir = "$outdir\.gitlab"
|
|
|
|
|
+$ProgressPreference = 'SilentlyContinue'
|
|
|
Invoke-WebRequest -Uri "https://github.com/ninja-build/ninja/releases/download/v$version/$tarball" -OutFile "$outdir\$tarball"
|
|
Invoke-WebRequest -Uri "https://github.com/ninja-build/ninja/releases/download/v$version/$tarball" -OutFile "$outdir\$tarball"
|
|
|
$hash = Get-FileHash "$outdir\$tarball" -Algorithm SHA256
|
|
$hash = Get-FileHash "$outdir\$tarball" -Algorithm SHA256
|
|
|
if ($hash.Hash -ne $sha256sum) {
|
|
if ($hash.Hash -ne $sha256sum) {
|