diff --git a/makefile.shade b/makefile.shade index 5a3caf4c44..7b7b2396d9 100644 --- a/makefile.shade +++ b/makefile.shade @@ -11,7 +11,7 @@ var Configuration_Local = '${E("Configuration")}' var ROOT_Local = '${Directory.GetCurrentDirectory()}' var BUILD_DIR_Local = '${Path.Combine(ROOT_Local, "build")}' -#build-compile target='compile' if='IsLinux' +#build-compile target='compile' if='IsLinux && Directory.Exists("src")' @{ var projectFiles = Files.Include("src/**/project.json") .Exclude("src/Microsoft.AspNetCore.DataProtection.SystemWeb/project.json") @@ -23,4 +23,4 @@ var BUILD_DIR_Local = '${Path.Combine(ROOT_Local, "build")}' { File.Copy(nupkg, Path.Combine(BUILD_DIR_Local, Path.GetFileName(nupkg)), true); } - } \ No newline at end of file + }