Beispiel #1
0
        private static NuGetPackSpecification BuildPackSpecification(Action <NuGetPackCmdConfigurator> packConfigurator)
        {
            var configurator = new NuGetPackCmdConfigurator();

            packConfigurator(configurator);
            return(configurator.BuildSpecification());
        }
Beispiel #2
0
 private static Action BuildNugetPackRunner(NuGetPackCmdConfigurator packConfiguration)
 {
     var runProgramBuilder = new RunProgramActionBuilder();
     return runProgramBuilder.ConfigureAction(c =>
         {
             c.Executable = NuGetExePath;
             c.Arguments("pack", packConfiguration.NuSpec, "-OutputDirectory", packConfiguration.OutputDirectory);
         });
 }
Beispiel #3
0
 private static NuGetPackCmdConfigurator ConfigureNugetPackAction(Action<NuGetPackCmdConfigurator> packConfigurator)
 {
     var configurator = new NuGetPackCmdConfigurator();
     packConfigurator(configurator);
     return configurator;
 }
Beispiel #4
0
 private static NuGetPackSpecification BuildPackSpecification(Action<NuGetPackCmdConfigurator> packConfigurator)
 {
     var configurator = new NuGetPackCmdConfigurator();
     packConfigurator(configurator);
     return configurator.BuildSpecification();
 }