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