I built a custom download using your tool for the last release. I now need to use the current internal build/hotfix but the custom download tool does not support internals, apparently.
How can I combine the .js files I need into one kendo.custom.min.js file? Is it simply a matter of iterating thru each file and concatenating the text into the new file? Is there an order that must be observed?
I tried this LinqPad C# script but the resulting .js file did not appear to work.
Thanks,
Gary Davis
How can I combine the .js files I need into one kendo.custom.min.js file? Is it simply a matter of iterating thru each file and concatenating the text into the new file? Is there an order that must be observed?
I tried this LinqPad C# script but the resulting .js file did not appear to work.
// Iterate thru .js files in KendoCustom to create kendo.custom.min.jsvoid Main(){ var files = Directory.EnumerateFiles(@"C:\Users\me\Desktop\KendoCustom\", "*.js"); var outputFile = @"C:\Users\me\Desktop\KendoCustom\kendo.custom.min.js"; if (File.Exists(outputFile)) File.Delete(outputFile); foreach (var fileName in files) { var contents = File.ReadAllText(fileName); contents = "/* " + fileName + " */ " + contents + "\n\n"; File.AppendAllText(outputFile, contents); }}Gary Davis