ChrisCompleteCodeTrunk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
param(
[hashtable] $parameters = @{},
[hashtable] $properties = @{}
)
$path = Split-Path -Path $MyInvocation.MyCommand.Path
write-host "Importing psake"
Import-Module ($path + '\..\Tools\PSake\psake.psm1')
Try
{
write-host "Starting build.ps1"
Invoke-psake ($path + '\build.ps1') -properties $properties -parameters $parameters
if ($psake.build_success -eq $false)
{
write-host "build.ps1 failed" -fore RED
exit 1
}
else
{
write-host "build.ps1 succeeded" -fore GREEN
exit 0
}
}
Finally
{
Remove-Module psake
}
|
Revision |
Author |
Commited |
Message |
1
|
BBDSCHRIS
|
Wed 22 Aug, 2018 20:08:03 +0000 |
|