forked from fslaborg/FsMath
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDocumentationTasks.fs
More file actions
36 lines (29 loc) · 1.38 KB
/
DocumentationTasks.fs
File metadata and controls
36 lines (29 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
module DocumentationTasks
open Helpers
open ProjectInfo
open BasicTasks
open BlackFox.Fake
let buildDocs = BuildTask.create "BuildDocs" [buildSolution] {
printfn "building docs with stable version %s" stableVersionTag
runDotNet
(sprintf "fsdocs build --eval --clean --properties Configuration=%s --parameters fsdocs-package-version %s" configuration stableVersionTag)
"./"
}
let buildDocsPrerelease = BuildTask.create "BuildDocsPrerelease" [setPrereleaseTag; buildSolution] {
printfn "building docs with prerelease version %s" prereleaseTag
runDotNet
(sprintf "fsdocs build --eval --clean --properties Configuration=%s --parameters fsdocs-package-version %s" configuration prereleaseTag)
"./"
}
let watchDocs = BuildTask.create "WatchDocs" [buildSolution] {
printfn "watching docs with stable version %s" stableVersionTag
runDotNet
(sprintf "fsdocs watch --eval --clean --properties Configuration=%s --parameters fsdocs-package-version %s" configuration stableVersionTag)
"./"
}
let watchDocsPrerelease = BuildTask.create "WatchDocsPrerelease" [setPrereleaseTag; buildSolution] {
printfn "watching docs with prerelease version %s" prereleaseTag
runDotNet
(sprintf "fsdocs watch --eval --clean --properties Configuration=%s --parameters fsdocs-package-version %s" configuration prereleaseTag)
"./"
}