Skip to content

Commit

Permalink
Use Cake.AzurePipelines.Module
Browse files Browse the repository at this point in the history
  • Loading branch information
bdukes committed Feb 10, 2021
1 parent 030bedb commit b69712b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Build/Build.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Cake.BuildSystems.Module" Version="1.0.0" />
<PackageReference Include="Cake.FileHelpers" Version="3.3.0" />
<PackageReference Include="Cake.Frosting" Version="1.0.0" />
<PackageReference Include="Cake.Git" Version="0.22.0" />
Expand Down
2 changes: 2 additions & 0 deletions Build/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;

using Cake.AzurePipelines.Module;
using Cake.Frosting;

public class Program
Expand All @@ -10,6 +11,7 @@ public static int Main(string[] args)
.UseContext<Context>()
.UseLifetime<Lifetime>()
.UseWorkingDirectory("..")
.UseModule<AzurePipelinesModule>()
.SetToolPath("../tools")
.InstallTool(new Uri("nuget:?package=GitVersion.CommandLine&version=5.0.1"))
.InstallTool(new Uri("nuget:?package=Microsoft.TestPlatform&version=16.8.0"))
Expand Down

0 comments on commit b69712b

Please sign in to comment.