Skip to content

Commit

Permalink
Fix CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
olsh committed Aug 10, 2019
1 parent 8ca5d27 commit 45f9d7c
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,21 @@ Task("UpdateBuildVersion")
BuildSystem.AppVeyor.UpdateBuildVersion(extensionsVersion);
});

Task("NugetRestore")
.Does(() =>
{
var projects = GetFiles("./**/*.csproj");
foreach(var project in projects)
{
NuGetRestore(project);
}
});

Task("Build")
.IsDependentOn("NugetRestore")
.Does(() =>
{
MSBuild(solutionFile, s =>
s.SetConfiguration(buildConfiguration)
.WithRestore());
MSBuild(solutionFile, s => s.SetConfiguration(buildConfiguration));
});

Task("Test")
Expand Down

0 comments on commit 45f9d7c

Please sign in to comment.