Skip to content

Commit f056bff

Browse files
committed
fixup! feat(ci): Fake build project
1 parent 540d556 commit f056bff

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

build/build.fs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ let nugetToken = Environment.environVarOrNone "NUGET_TOKEN"
100100
let isRelease (targets : Target list) =
101101
targets
102102
|> Seq.map (fun t -> t.Name)
103-
|> Seq.exists ((=) "PublishToNuGet")
103+
|> Seq.exists (fun name ->
104+
name = "PublishToNuGet" || name = "PublishToGitHub" || name = "BuildDocs"
105+
)
104106

105107
let invokeAsync f = async { f () }
106108

@@ -606,14 +608,14 @@ let cleanDocsCache _ = DocsTool.cleanDocsCache ()
606608
let buildDocs ctx =
607609
let configuration = configuration (ctx.Context.AllExecutingTargets)
608610

609-
// Build only FSharpLint.Core project for documentation
611+
// Build only FSharpLint.Console project for documentation
610612
DotNet.build
611613
(fun c -> {
612614
c with
613615
Configuration = DotNet.BuildConfiguration.fromString (string configuration)
614616
MSBuildParams = disableBinLog c.MSBuildParams
615617
})
616-
(rootDirectory </> "src/FSharpLint.Core")
618+
(rootDirectory </> "src/FSharpLint.Console")
617619

618620
DocsTool.build (string configuration)
619621

0 commit comments

Comments
 (0)