aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-05-25 18:15:05 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-05-25 18:15:05 -0700
commite288a87b9f048b53ecf20bebc429ab1ab732220a (patch)
treeaaa855b1c929905f0dbcbab0db53bdc5cc2fe2ce
parentd794a6287ac816ea10888fe86fdb51d17e13cc2e (diff)
downloadvcpkg-e288a87b9f048b53ecf20bebc429ab1ab732220a.tar.gz
vcpkg-e288a87b9f048b53ecf20bebc429ab1ab732220a.zip
[vcpkg-ci] Do not delete log files
-rw-r--r--scripts/internalCI.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/internalCI.ps1 b/scripts/internalCI.ps1
index 66744976d..68c917f7a 100644
--- a/scripts/internalCI.ps1
+++ b/scripts/internalCI.ps1
@@ -6,7 +6,7 @@ New-Item -type file downloads\AlwaysAllowDownloads -errorAction SilentlyContinue
if (-not $?) { throw $? }
# Clear out any intermediate files from the previous build
-Get-ChildItem buildtrees/*/* | ? Name -ne "src" | Remove-Item -Recurse -Force
+Get-ChildItem buildtrees/*/* | ? { $_.Name -ne "src" -and $_.Extension -ne ".log"} | Remove-Item -Recurse -Force
# Purge any outdated packages
./vcpkg remove --outdated --recurse