private static NuGetPackSpecification BuildPackSpecification(Action <NuGetPackCmdConfigurator> packConfigurator) { var configurator = new NuGetPackCmdConfigurator(); packConfigurator(configurator); return(configurator.BuildSpecification()); }
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); }); }
private static NuGetPackCmdConfigurator ConfigureNugetPackAction(Action<NuGetPackCmdConfigurator> packConfigurator) { var configurator = new NuGetPackCmdConfigurator(); packConfigurator(configurator); return configurator; }
private static NuGetPackSpecification BuildPackSpecification(Action<NuGetPackCmdConfigurator> packConfigurator) { var configurator = new NuGetPackCmdConfigurator(); packConfigurator(configurator); return configurator.BuildSpecification(); }