-Build
This commit is contained in:
+4
-2
@@ -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
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user