don't set IsDocsBuild flag on project

This commit is contained in:
goat 2025-01-10 19:57:08 +01:00
parent d7279f5f21
commit d779408fdc

View file

@ -126,12 +126,12 @@ public class DalamudBuild : NukeBuild
// We need to emit compiler generated files for the docs build, since docfx can't run generators directly // We need to emit compiler generated files for the docs build, since docfx can't run generators directly
// TODO: This fails every build after this because of redefinitions... // TODO: This fails every build after this because of redefinitions...
if (IsDocsBuild) // if (IsDocsBuild)
{ // {
Log.Warning("Building for documentation, emitting compiler generated files. This can cause issues on Windows due to path-length limitations"); // Log.Warning("Building for documentation, emitting compiler generated files. This can cause issues on Windows due to path-length limitations");
s = s // s = s
.SetProperty("IsDocsBuild", "true"); // .SetProperty("IsDocsBuild", "true");
} // }
return s; return s;
}); });