Skip to content

Commit

Permalink
Removes the 'dotnet restore' task
Browse files Browse the repository at this point in the history
Because since .NET Core 2.0 it's done implicitly by 'dotnet build'.
  • Loading branch information
ecampidoglio committed Feb 21, 2019
1 parent 0192238 commit eca7589
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,7 @@ Task("Clean")
CleanDirectories("**/obj");
});

Task("Restore")
.Does(() =>
{
DotNetCoreRestore(Paths.SolutionFile.FullPath);
});

Task("Build")
.IsDependentOn("Restore")
.Does(() =>
{
DotNetCoreBuild(
Expand All @@ -39,7 +32,6 @@ Task("Build")
});

Task("Test")
.IsDependentOn("Restore")
.Does(() =>
{
DotNetCoreTest(Paths.TestProjectFile.FullPath);
Expand Down

0 comments on commit eca7589

Please sign in to comment.