diff --git a/makefile.shade b/makefile.shade index 744007ef33..9cfdf38de2 100644 --- a/makefile.shade +++ b/makefile.shade @@ -151,7 +151,7 @@ var buildTarget = "compile" foreach (var batch in batchedRepos) { - Parallel.ForEach(batch.ToArray(), new ParallelOptions { MaxDegreeOfParallelism = IsLinux ? 1 : 4 }, repo => + Parallel.ForEach(batch.ToArray(), new ParallelOptions { MaxDegreeOfParallelism = 4 }, repo => { var blockName = string.Format("Building {0}", repo); @@ -997,6 +997,18 @@ functions { GetDependencies(projectJson, info.DependencyNames); } + else + { + // Look for test\Websites\WebsiteName\project.json + foreach (var subDirectory in Directory.EnumerateDirectories(directory)) + { + projectJson = Path.Combine(subDirectory, "project.json"); + if (File.Exists(projectJson)) + { + GetDependencies(projectJson, info.DependencyNames); + } + } + } } } }