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