Example #1
0
        protected override string GenerateCommandLineCommands()
        {
            var builder = new CommandLineBuilder();

            builder.AppendFileNameIfNotNull(Path.Combine(this.ToolsBinDir, "ConstantsScraper.dll"));

            builder.AppendSwitchIfNotNull("--headerTextFile ", this.HeaderTextFile);
            builder.AppendSwitchIfNotNull("--scraperOutputDir ", this.ScraperOutputDir);

            IEnumerable <string> reponseFiles = TaskUtils.GetFullPaths(this.ResponseFiles, this.MSBuildProjectDirectory);

            foreach (var file in reponseFiles)
            {
                builder.AppendRspFileIfNotNull(file);
            }

            return(builder.ToString());
        }