Auto-opened module containing functions for using Make computation expressions.
| Function or value | Description |
Example
let newMake =
make {
let ctx = Make.context
printfn "%s" ctx.StepName
}
|
|
|
Creates a single access memo Make using a MemoBuilder computation expression. Once a memo has run, it will return the same value without running again.
Example
let versionMake =
memo {
return! Cmd.createWithArgs "dotnet" [ "gitversion" ] |> Cmd.result
}
|
|
Creates a parallel access memo Make using a MemoRaceBuilder computation expression. Once a memoRace has run, it will return the same value without running again.
Example
let versionMake =
memoRace {
return! Cmd.createWithArgs "dotnet" [ "gitversion" ] |> Cmd.result
}
|
|
Example
let test =
Step.create "test" {
do! retry 2 {
do! Cmd.createWithArgs "dotnet" [ "test" ] |> Cmd.run
}
}
|