Пример #1
0
 private ITask Pack()
 {
     return(NuGet.Pack(parameters =>
     {
         parameters.Specification = NuGet.Specification.Inline(package =>
         {
             package.Dependencies.Add("NUnit", "2.6.4");
         });
     }));
 }
Пример #2
0
 private ITask Configure()
 {
     return(NuGet.Configure(parameters =>
     {
         parameters.Path = NuGet.Path.Online(settings =>
         {
             settings.Cache = NuGet.Cache.AppData();
         });
     }));
 }
Пример #3
0
 private ITask Restore()
 {
     return(NuGet.Restore());
 }