Describes settings for DNXSupport.DNUPublish method.
Пример #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() );
 }
Пример #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());
        }