- install dotnet core 3.0+ (with sdk)
dotnet new tool-manifest
dotnet tool install fake-cli
dotnet tool install paket
- Then in your build.sh: (assumes you use git bash)
#!/bin/bash
dotnet tool restore
dotnet paket restore
dotnet fake build "$@"
Create (example) build.fsx:
#r @"paket:
nuget XPlot.GoogleCharts
"
open XPlot.GoogleCharts
let histo = [| [(100.0,100.0) ; (200.0,100.0) ; (300.0,150.0)] |]
histo
|> Seq.ofArray
|> Chart.Combo
|> Chart.WithOptions
(Options(title = "My plot"))
|> Chart.WithLabels ["Woo"]
|> Chart.WithLegend false
|> Chart.WithSize (600, 250)
|> Chart.Show
./build.sh run