File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 </PropertyGroup >
99 <ItemGroup >
1010 <PackageReference Include =" Cake.Frosting" Version =" 1.0.0-rc0001" />
11+ <PackageReference Include =" Cake.NuGet" Version =" 1.0.0-rc0001" />
1112 <PackageReference Include =" JetBrains.Annotations" Version =" 2020.3.0" />
1213 </ItemGroup >
1314</Project >
Original file line number Diff line number Diff line change 11namespace Engage . Dnn . SqlServerTypes . Build
22{
3+ using System ;
4+ using System . Collections . Generic ;
5+
6+ using Cake . Core . Configuration ;
37 using Cake . Frosting ;
8+ using Cake . NuGet ;
49
510 public class Program : IFrostingStartup
611 {
@@ -20,6 +25,11 @@ public void Configure(ICakeServices services)
2025 services . UseContext < Context > ( ) ;
2126 services . UseLifetime < Lifetime > ( ) ;
2227 services . UseWorkingDirectory ( ".." ) ;
28+
29+ var module = new NuGetModule ( new CakeConfiguration ( new Dictionary < string , string > ( ) ) ) ;
30+ module . Register ( services ) ;
31+
32+ services . UseTool ( new Uri ( "nuget:?package=NuGet.CommandLine&version=5.8.0" ) ) ;
2333 }
2434 }
2535}
You can’t perform that action at this time.
0 commit comments