Exemplo n.º 1
0
        public static void DNUBuild(this ICakeContext context, string path, DNUBuildSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            if (settings == null)
            {
                settings = new DNUBuildSettings();
            }

            var restorer = new DNUBuilder(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            restorer.Build(path, settings);
        }
Exemplo n.º 2
0
        protected override void RunTool()
        {
            var tool = new DNUBuilder(FileSystem, Environment, ProcessRunner, Globber);

            tool.Build(Path, Settings);
        }