Describes settings for DNXSupport.DNUBuild method.
Exemplo n.º 1
0
 /// <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() );
 }
Exemplo n.º 2
0
        /// <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());
        }