This file contains hidden or 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
using System; | |
using System.Diagnostics; | |
namespace ClassLibrary1 | |
{ | |
public static class Retry | |
{ | |
public static void Until(Action stuffToRetry, Func<bool> stopWhenTrue, TimeSpan? timeToRetry = null) | |
{ | |
var internalTimeToRetry = timeToRetry ?? 5.Seconds(); |
This file contains hidden or 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
function build($pathToSolution, $configuration) { | |
if (-not $configuration) { | |
$configuration = "Debug" | |
} | |
& (Join-Path ${env:ProgramFiles(x86)} "MSBuild\14.0\Bin\msbuild.exe") /p:Configuration=$configuration /v:minimal $pathToSolution | |
} |
OlderNewer