This commit is contained in:
James Newton-King
2015-03-22 17:44:38 +13:00
parent ff7e9f3f2a
commit 41590f5a58
2 changed files with 9 additions and 4 deletions
+4 -2
View File
@@ -291,10 +291,12 @@ function Edit-XmlNodes {
foreach ($node in $nodes) {
if ($node -ne $null) {
if ($node.NodeType -eq "Element") {
if ($node.NodeType -eq "Element")
{
$node.InnerXml = $value
}
else {
else
{
$node.Value = $value
}
}
+5 -2
View File
@@ -1,4 +1,7 @@
cls
param(
[hashtable] $parameters = @{},
[hashtable] $properties = @{}
)
$path = Split-Path -Path $MyInvocation.MyCommand.Path
@@ -8,7 +11,7 @@ Import-Module ($path + '\..\Tools\PSake\psake.psm1')
Try
{
write-host "Starting build.ps1"
Invoke-psake ($path + '\build.ps1') Test -framework 3.5
Invoke-psake ($path + '\build.ps1') -properties $properties -parameters $parameters
if ($psake.build_success -eq $false)
{