From 8274005029cbe7cd496c5fd16a819250f07541da Mon Sep 17 00:00:00 2001 From: Melanie Date: Thu, 6 Aug 2009 22:55:50 +0100 Subject: Update prebuild once again --- Prebuild/src/Core/Parse/Preprocessor.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Prebuild') diff --git a/Prebuild/src/Core/Parse/Preprocessor.cs b/Prebuild/src/Core/Parse/Preprocessor.cs index 57d4062..b2306e4 100644 --- a/Prebuild/src/Core/Parse/Preprocessor.cs +++ b/Prebuild/src/Core/Parse/Preprocessor.cs @@ -609,6 +609,7 @@ namespace Prebuild.Core.Parse { string[] directories = Directory.GetDirectories(preWildcard); Array.Sort(directories); + Array.Reverse(directories); foreach (string dirPath in directories ) { Console.WriteLine("Scanning : {0}", dirPath); @@ -642,6 +643,7 @@ namespace Prebuild.Core.Parse string[] files = Directory.GetFiles(searchDirectory, searchFilename); Array.Sort(files); + Array.Reverse(files); foreach (string includeFile in files) { FileInfo file = new FileInfo(includeFile); -- cgit v1.1