diff options
Diffstat (limited to '')
-rw-r--r-- | Prebuild/src/Core/Parse/Preprocessor.cs | 2 |
1 files changed, 2 insertions, 0 deletions
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 | |||
609 | { | 609 | { |
610 | string[] directories = Directory.GetDirectories(preWildcard); | 610 | string[] directories = Directory.GetDirectories(preWildcard); |
611 | Array.Sort(directories); | 611 | Array.Sort(directories); |
612 | Array.Reverse(directories); | ||
612 | foreach (string dirPath in directories ) | 613 | foreach (string dirPath in directories ) |
613 | { | 614 | { |
614 | Console.WriteLine("Scanning : {0}", dirPath); | 615 | Console.WriteLine("Scanning : {0}", dirPath); |
@@ -642,6 +643,7 @@ namespace Prebuild.Core.Parse | |||
642 | 643 | ||
643 | string[] files = Directory.GetFiles(searchDirectory, searchFilename); | 644 | string[] files = Directory.GetFiles(searchDirectory, searchFilename); |
644 | Array.Sort(files); | 645 | Array.Sort(files); |
646 | Array.Reverse(files); | ||
645 | foreach (string includeFile in files) | 647 | foreach (string includeFile in files) |
646 | { | 648 | { |
647 | FileInfo file = new FileInfo(includeFile); | 649 | FileInfo file = new FileInfo(includeFile); |