Created
August 29, 2016 14:13
-
-
Save dcomartin/edd0d9d4d1d731eb185c6e6ec0dda335 to your computer and use it in GitHub Desktop.
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
#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