File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -604,6 +604,16 @@ let cleanDocsCache _ = DocsTool.cleanDocsCache ()
604604
605605let buildDocs ctx =
606606 let configuration = configuration ( ctx.Context.AllExecutingTargets)
607+
608+ // Build only FSharpLint.Core project for documentation
609+ DotNet.build
610+ ( fun c -> {
611+ c with
612+ Configuration = DotNet.BuildConfiguration.fromString ( string configuration)
613+ MSBuildParams = disableBinLog c.MSBuildParams
614+ })
615+ ( rootDirectory </> " src/FSharpLint.Core" )
616+
607617 DocsTool.build ( string configuration)
608618
609619let watchDocs ctx =
@@ -687,9 +697,9 @@ let initTargets (ctx : Context.FakeExecutionContext) =
687697
688698 " CleanDocsCache" ==>! " BuildDocs"
689699
690- " DotnetBuild" ?=>! " BuildDocs "
691-
692- " DotnetBuild" ==>! " BuildDocs"
700+ // BuildDocs doesn't need DotnetBuild as it builds FSharpLint.Core itself
701+ // "DotnetBuild" ?=>! "BuildDocs"
702+ // "DotnetBuild" ==>! "BuildDocs"
693703
694704 " DotnetBuild" ==>! " WatchDocs"
695705
You can’t perform that action at this time.
0 commit comments