Skip to content

Instantly share code, notes, and snippets.

@dcomartin

dcomartin/xunit.cs

Created Aug 29, 2016
Embed
What would you like to do?
#tool "nuget:?package=xunit.runner.console"
var target = Argument("target", "Build");
Task("Default")
.IsDependentOn("xUnit");
Task("Build")
.Does(() =>
{
MSBuild("./src/CakeDemo.sln");
});
Task("xUnit")
.IsDependentOn("Build")
.Does(() =>
{
XUnit2("./src/CakeDemo.Tests/bin/Debug/CakeDemo.Tests.dll");
});
RunTarget(target);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment