Create temp folder if it doesn't exist

This commit is contained in:
Wes Carroll
2019-03-29 10:25:46 -04:00
parent 802eef6067
commit 1fc7bf697e
+3
View File
@@ -117,6 +117,9 @@ task CreatePsd1ForRelease CleanTemp, {
}
task CleanTemp {
if (-not $(Test-Path "$BuildRoot\temp")) {
New-Item -Path $BuildRoot -Name "temp" -ItemType "Directory"
}
Remove-Item -Recurse -Path 'temp\*'
}