Skip to content

Commit

Permalink
update for appveyor #55
Browse files Browse the repository at this point in the history
  • Loading branch information
sayedihashimi committed Mar 23, 2015
1 parent c0dcea3 commit 1275060
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/psbuild.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,11 @@ function Invoke-MSBuild{
}

if($env:APPVEYOR -eq $true -and (get-command Add-AppveyorMessage -ErrorAction SilentlyContinue) ){
$avmsg = ('Building projects {0}' -f $projArg)
[string]$projstr = $projArg
if([string]::IsNullOrWhiteSpace($projstr)){
$projstr = '(project not specified)'
}
$avmsg = ('Building projects {0}' -f $projstr)
$avdetails = ('{0} {1}' -f $msbuildPath, ($msbuildArgs -join ' ' ))
Add-AppveyorMessage -Message $avmsg -Category Information -Details $avdetails -ErrorAction SilentlyContinue | Out-NUll
}
Expand Down

0 comments on commit 1275060

Please sign in to comment.