Skip to content

Commit

Permalink
Merge pull request #558 from WildGums/GitHubSync/20240523-214730
Browse files Browse the repository at this point in the history
GitHubSync update
  • Loading branch information
GeertvanHorrik authored May 23, 2024
2 parents 142a357 + a4a7ea6 commit 8460dfa
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 8460dfa

Please sign in to comment.