Write-Output "Copying umbraco.presentation.targets to $DESTINATION ..."
$ITEM = Join-Path $env:WORKSPACE '\Shared Third-Party\UmbracoGitHub\src\umbraco.presentation.targets'
If(!(Test-Path -Path $ITEM)) {
Write-Output "File does not exist at $ITEM"
Return
}
$DESTINATION = Join-Path $env:WORKSPACE '..\src'
Write-Output "Checking if $DESTINATION exists ..."
If(!(Test-Path -Path $DESTINATION )){
Write-Output "Creating $DESTINATION ..."
New-Item $DESTINATION -ItemType Directory
} Else {
Write-Output "$DESTINATION Exists ..."
}
Write-Output "Copying umbraco.presentation.targets to $DESTINATION ..."
Copy-Item $ITEM $DESTINATION
Write-Output "Build Step Complete"