Skip to content

Instantly share code, notes, and snippets.

View Xeinaemm's full-sized avatar
✌️
Greetings

Piotr Czech Xeinaemm

✌️
Greetings
View GitHub Profile
#addin "Cake.FileHelpers&version=3.2.0"
void Build(string root = "")
{
var solution = Argument<string>("Solution", "") != "" ?
new FilePath($"{root}{Argument<string>("Solution")}/{Argument<string>("Solution")}.sln") :
new FilePath(root + "BuildSolution.sln");
MSBuild(solution, settings => settings
.SetConfiguration(Argument<string>("Configuration", "Debug"))