Appveyor cleanup

This commit is contained in:
Gator96100 2020-10-05 05:14:34 +02:00
parent 3b8c54ad52
commit 585781ad08

View file

@ -9,6 +9,7 @@ environment:
proxspace_zip_folder_name: ProxSpace-* proxspace_zip_folder_name: ProxSpace-*
proxspace_path: C:\ProxSpace proxspace_path: C:\ProxSpace
proxspace_home_path: \ProxSpace\pm3 proxspace_home_path: \ProxSpace\pm3
proxspace_cache_path: C:\cache
wsl_git_path: C:\proxmark wsl_git_path: C:\proxmark
APPVEYOR_SAVE_CACHE_ON_ERROR: true APPVEYOR_SAVE_CACHE_ON_ERROR: true
@ -71,6 +72,8 @@ clone_script:
Write-Host "ProxSpace: Removing folder..." -NoNewLine Write-Host "ProxSpace: Removing folder..." -NoNewLine
cd \
Remove-Item -Recurse -Force -Path $env:proxspace_path -ErrorAction SilentlyContinue Remove-Item -Recurse -Force -Path $env:proxspace_path -ErrorAction SilentlyContinue
Write-Host "[ OK ]" -ForegroundColor Green Write-Host "[ OK ]" -ForegroundColor Green
@ -174,11 +177,7 @@ install:
Write-Host "ProxSpace: move cache..." -NoNewLine Write-Host "ProxSpace: move cache..." -NoNewLine
Move-Item -Path "C:\cache" -Destination "$env:proxspace_path\msys2\var\cache" -Force Move-Item -Path "$env:proxspace_cache_path" -Destination "$env:proxspace_path\msys2\var\cache" -Force
Get-ChildItem "C:\"
Get-ChildItem "$env:proxspace_path\msys2\var\cache\pacman\pkg\"
Write-Host "[ OK ]" -ForegroundColor Gree Write-Host "[ OK ]" -ForegroundColor Gree
@ -271,17 +270,9 @@ build_script:
ExecMinGWCmd 'yes | pacman -Sc > /dev/null 2>&1' ExecMinGWCmd 'yes | pacman -Sc > /dev/null 2>&1'
Get-ChildItem "C:\cache\" Remove-Item -Recurse -Force -Path "$env:proxspace_cache_path" -ErrorAction SilentlyContinue
Get-ChildItem "$env:proxspace_path\msys2\var\cache\pacman\pkg\" Move-Item -Path "$env:proxspace_path\msys2\var\cache" -Destination "$env:proxspace_cache_path" -Force
Remove-Item -Recurse -Force -Path C:\cache -ErrorAction SilentlyContinue
Move-Item -Path "$env:proxspace_path\msys2\var\cache" -Destination "C:\cache" -Force
Get-ChildItem "C:\cache\"
Get-ChildItem "$env:proxspace_path\msys2\var\cache\pacman\pkg\"
Write-Host "[ OK ]" -ForegroundColor Gree Write-Host "[ OK ]" -ForegroundColor Gree