mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-28 10:05:13 +08:00
Appveyor cleanup
This commit is contained in:
parent
3b8c54ad52
commit
585781ad08
1 changed files with 6 additions and 15 deletions
21
appveyor.yml
21
appveyor.yml
|
@ -9,6 +9,7 @@ environment:
|
|||
proxspace_zip_folder_name: ProxSpace-*
|
||||
proxspace_path: C:\ProxSpace
|
||||
proxspace_home_path: \ProxSpace\pm3
|
||||
proxspace_cache_path: C:\cache
|
||||
wsl_git_path: C:\proxmark
|
||||
APPVEYOR_SAVE_CACHE_ON_ERROR: true
|
||||
|
||||
|
@ -71,6 +72,8 @@ clone_script:
|
|||
|
||||
Write-Host "ProxSpace: Removing folder..." -NoNewLine
|
||||
|
||||
cd \
|
||||
|
||||
Remove-Item -Recurse -Force -Path $env:proxspace_path -ErrorAction SilentlyContinue
|
||||
|
||||
Write-Host "[ OK ]" -ForegroundColor Green
|
||||
|
@ -174,11 +177,7 @@ install:
|
|||
|
||||
Write-Host "ProxSpace: move cache..." -NoNewLine
|
||||
|
||||
Move-Item -Path "C:\cache" -Destination "$env:proxspace_path\msys2\var\cache" -Force
|
||||
|
||||
Get-ChildItem "C:\"
|
||||
|
||||
Get-ChildItem "$env:proxspace_path\msys2\var\cache\pacman\pkg\"
|
||||
Move-Item -Path "$env:proxspace_cache_path" -Destination "$env:proxspace_path\msys2\var\cache" -Force
|
||||
|
||||
Write-Host "[ OK ]" -ForegroundColor Gree
|
||||
|
||||
|
@ -271,17 +270,9 @@ build_script:
|
|||
|
||||
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\"
|
||||
|
||||
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\"
|
||||
Move-Item -Path "$env:proxspace_path\msys2\var\cache" -Destination "$env:proxspace_cache_path" -Force
|
||||
|
||||
Write-Host "[ OK ]" -ForegroundColor Gree
|
||||
|
||||
|
|
Loading…
Reference in a new issue