Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created August 29, 2016 14:13
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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