mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
don't build cimgui components if we're building for docs
This commit is contained in:
parent
d932f2f06e
commit
d7279f5f21
1 changed files with 12 additions and 0 deletions
|
|
@ -71,6 +71,10 @@ public class DalamudBuild : NukeBuild
|
||||||
Target CompileCImGui => _ => _
|
Target CompileCImGui => _ => _
|
||||||
.Executes(() =>
|
.Executes(() =>
|
||||||
{
|
{
|
||||||
|
// Not necessary, and does not build on Linux
|
||||||
|
if (IsDocsBuild)
|
||||||
|
return;
|
||||||
|
|
||||||
MSBuildTasks.MSBuild(s => s
|
MSBuildTasks.MSBuild(s => s
|
||||||
.SetTargetPath(CImGuiProjectFile)
|
.SetTargetPath(CImGuiProjectFile)
|
||||||
.SetConfiguration(Configuration)
|
.SetConfiguration(Configuration)
|
||||||
|
|
@ -80,6 +84,10 @@ public class DalamudBuild : NukeBuild
|
||||||
Target CompileCImPlot => _ => _
|
Target CompileCImPlot => _ => _
|
||||||
.Executes(() =>
|
.Executes(() =>
|
||||||
{
|
{
|
||||||
|
// Not necessary, and does not build on Linux
|
||||||
|
if (IsDocsBuild)
|
||||||
|
return;
|
||||||
|
|
||||||
MSBuildTasks.MSBuild(s => s
|
MSBuildTasks.MSBuild(s => s
|
||||||
.SetTargetPath(CImPlotProjectFile)
|
.SetTargetPath(CImPlotProjectFile)
|
||||||
.SetConfiguration(Configuration)
|
.SetConfiguration(Configuration)
|
||||||
|
|
@ -89,6 +97,10 @@ public class DalamudBuild : NukeBuild
|
||||||
Target CompileCImGuizmo => _ => _
|
Target CompileCImGuizmo => _ => _
|
||||||
.Executes(() =>
|
.Executes(() =>
|
||||||
{
|
{
|
||||||
|
// Not necessary, and does not build on Linux
|
||||||
|
if (IsDocsBuild)
|
||||||
|
return;
|
||||||
|
|
||||||
MSBuildTasks.MSBuild(s => s
|
MSBuildTasks.MSBuild(s => s
|
||||||
.SetTargetPath(CImGuizmoProjectFile)
|
.SetTargetPath(CImGuizmoProjectFile)
|
||||||
.SetConfiguration(Configuration)
|
.SetConfiguration(Configuration)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue