-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* test platform side fix for issue #192 * Fix for issue #202 * Removing unusefull double quotes * Addressed PR comment * Renamed the task name
- Loading branch information
1 parent
da8ce17
commit b7e69ff
Showing
3 changed files
with
61 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
src/Microsoft.TestPlatform.Build/Tasks/PrintBuildStartEndTask.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// Copyright(c) Microsoft Corporation.All rights reserved. | ||
// Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
|
||
namespace Microsoft.TestPlatform.Build.Tasks | ||
{ | ||
using System.Collections.Generic; | ||
|
||
using Microsoft.Build.Framework; | ||
using Microsoft.Build.Utilities; | ||
using System; | ||
using System.IO; | ||
|
||
public class BuildLogTask : Task | ||
{ | ||
public bool BuildStarted | ||
{ | ||
get; | ||
set; | ||
} | ||
|
||
public override bool Execute() | ||
{ | ||
if (BuildStarted) | ||
{ | ||
Console.WriteLine("Build started, please wait..."); | ||
} | ||
else | ||
{ | ||
Console.WriteLine("Build completed."); | ||
Console.WriteLine(); | ||
} | ||
return true; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters