Ejemplo n.º 1
0
        public static void VscePublish(this ICakeContext context, VscePublishSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            var publisher = new VscePublisher(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            publisher.Run(settings);
        }
Ejemplo n.º 2
0
        public static void VscePublish(this ICakeContext context, VscePublishSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            var resolver = new VsceToolResolver(context.FileSystem, context.Environment);
            var publisher = new VscePublisher(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools, resolver);
            publisher.Run(settings);
        }