Skip to content

Commit

Permalink
Merge pull request #338 from Catel/GitHubSync/20240523-193337
Browse files Browse the repository at this point in the history
GitHubSync update
  • Loading branch information
GeertvanHorrik authored May 23, 2024
2 parents a98b7f6 + a3cd3f4 commit f5f8a95
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion deployment/cake/components-tasks.cake
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,13 @@ public class ComponentsProcessor : ProcessorBase

if (isPackageContainerProject)
{
noBuild = false;
// In debug / local builds, automatic building of reference projects
// is enabled for convenience. If that is the case, noBuild must be
// set to false, but *only* in debug mode
if (BuildContext.General.IsLocalBuild)
{
noBuild = false;
}
}

// As described in the this issue: https://github.com/NuGet/Home/issues/4360
Expand Down
2 changes: 1 addition & 1 deletion deployment/cake/lib-generic.cake
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ private static bool IsPackageContainerProject(BuildContext buildContext, string
if (packageContainerElement.Value.ToLower() == "true")
{
isPackageContainer = true;
}
}
break;
}
}
Expand Down
4 changes: 2 additions & 2 deletions deployment/cake/lib-msbuild.cake
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private static void ConfigureMsBuild(BuildContext buildContext, MSBuildSettings
}
else
{
buildContext.CakeContext.Information("This is a local build, disabling building of project references");
buildContext.CakeContext.Information("This is a local build, not disabling building of project references");
}

// Continuous integration build
Expand Down Expand Up @@ -154,7 +154,7 @@ private static void ConfigureMsBuildForDotNet(BuildContext buildContext, DotNetM
}
else
{
buildContext.CakeContext.Information($"This is a local build, disabling building of project references");
buildContext.CakeContext.Information($"This is a local build, not disabling building of project references");
}

// Continuous integration build
Expand Down

0 comments on commit f5f8a95

Please sign in to comment.