/// <summary> /// Runs dnu publish /// </summary> /// <param name="context">This cake context.</param> /// <param name="config">The configuration to use.</param> public static void DNUPublish( this ICakeContext context, Action<DNUPublishSettings> config ) { var c = new DNUPublishSettings(); config( c ); var b = new StringBuilder(); b.Append( "dnu publish " ); c.ToString( b ); RunCmdAliases.RunCmdSuccessful( context, b.ToString() ); }
/// <summary> /// Runs dnu publish /// </summary> /// <param name="context">This cake context.</param> /// <param name="config">The configuration to use.</param> public static void DNUPublish(this ICakeContext context, Action <DNUPublishSettings> config) { var c = new DNUPublishSettings(); config(c); var b = new StringBuilder(); b.Append("dnu publish "); c.ToString(b); RunSuccessfullCmd(context, b.ToString()); }