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 @@ -547,6 +547,16 @@ let cleanDocsCache _ = DocsTool.cleanDocsCache ()
547547
548548let buildDocs ctx =
549549 let configuration = configuration ( ctx.Context.AllExecutingTargets)
550+
551+ // Build only FSharpLint.Core project for documentation
552+ DotNet.build
553+ ( fun c -> {
554+ c with
555+ Configuration = DotNet.BuildConfiguration.fromString ( string configuration)
556+ MSBuildParams = disableBinLog c.MSBuildParams
557+ })
558+ ( rootDirectory </> " src/FSharpLint.Core" )
559+
550560 DocsTool.build ( string configuration)
551561
552562let watchDocs ctx =
@@ -628,9 +638,9 @@ let initTargets (ctx : Context.FakeExecutionContext) =
628638
629639 " CleanDocsCache" ==>! " BuildDocs"
630640
631- " DotnetBuild" ?=>! " BuildDocs "
632-
633- " DotnetBuild" ==>! " BuildDocs"
641+ // BuildDocs doesn't need DotnetBuild as it builds FSharpLint.Core itself
642+ // "DotnetBuild" ?=>! "BuildDocs"
643+ // "DotnetBuild" ==>! "BuildDocs"
634644
635645 " DotnetBuild" ==>! " WatchDocs"
636646
You can’t perform that action at this time.
0 commit comments