-Build
This commit is contained in:
+16
-2
@@ -3,5 +3,19 @@
|
||||
$path = Split-Path -Path $MyInvocation.MyCommand.Path
|
||||
|
||||
Import-Module ($path + '\..\Tools\PSake\psake.psm1')
|
||||
Invoke-psake ($path + '\build.ps1') Test -framework 3.5
|
||||
Remove-Module psake
|
||||
|
||||
Try
|
||||
{
|
||||
Invoke-psake ($path + '\build.ps1') Test -framework 3.5
|
||||
|
||||
if ($error -ne '')
|
||||
{
|
||||
$exitCode = $error.Count
|
||||
write-host "build.ps1 exit code: $exitCode" -fore RED
|
||||
exit $exitCode
|
||||
}
|
||||
}
|
||||
Finally
|
||||
{
|
||||
Remove-Module psake
|
||||
}
|
||||
Reference in New Issue
Block a user