lholman / OneBuild

Convention based PowerShell build for .NET http://lholman.github.io/OneBuild/
Apache License 2.0
17 stars 2 forks source link

Notifications are being shown as warnings #24

Closed AwaNoodle closed 9 years ago

AwaNoodle commented 9 years ago

Notifications about actions inside of the tasks are being reported back as warnings rather than info. For example:

Invoke-Compile

WARNING: Using Configuration mode 'Debug'. Modify this by passing in a value for the parameter '-configMode'

Invoke-UnitTests

WARNING: Adding: C:\OneBuildTest\OneBuildTest.MoreNunitTests\bin\OneBuildTest.MoreNunitTests.dll
WARNING: Adding: C:\OneBuildTest\OneBuildTest.NunitTests\bin\OneBuildTest.NunitTests.dll
WARNING: Removing all previous test result file(s) matching: C:\OneBuildTest\TestResult*.xml
lholman commented 9 years ago

Well spotted @AwaNoodle Seeing as all build logic is encapsulated within advanced Powershell Modules I'm thinking using the standard -verbose parameter along with Write-Verbose would make sense for the majority of verbose/debug style output?

AwaNoodle commented 9 years ago

Makes sense to me too :)

lholman commented 9 years ago

@AwaNoodle This is fixed with PR #34 and a minor merge conflict commit.