public void Run()
        {
            var fileSystem = new FileSystem();
            var logger     = new CollectionLogger();
            var adapters   = new IMsBuildCodeFileStoreAdapter[] { new TypeScriptMsBuildStoreAdapter(fileSystem), new CSharpMsBuildStoreAdapter(fileSystem) };
            CodeGenerationPipelineLauncherMsBuild launcher = new CodeGenerationPipelineLauncherMsBuild(fileSystem, logger, adapters);
            var testSolutionPath = "..\\..\\..\\..\\SandboxProjects\\TestProjects.MetadataTest\\MetadataTest.All.sln";
            var testConfig       = "..\\..\\..\\..\\SandboxProjects\\TestProjects.MetadataTest\\Source\\CGPipeline.json";

            launcher.Execute(testSolutionPath, testConfig);
        }
예제 #2
0
        public void Launch(string solutionPath, string pipelineConfigurationPath)
        {
            CodeGenerationPipelineLauncherMsBuild launcher = new CodeGenerationPipelineLauncherMsBuild(
                this.FileSystem,
                this.Logger,
                new IMsBuildCodeFileStoreAdapter[]
            {
                new CSharpMsBuildStoreAdapter(this.FileSystem),
                new GlslMsBuildStoreAdapter(this.FileSystem),
                new TypeScriptMsBuildStoreAdapter(this.FileSystem)
            });

            launcher.Execute(solutionPath, pipelineConfigurationPath);
        }