Skip to content

Running Analysers

jovanhan2 edited this page Nov 22, 2018 · 2 revisions

Instructions (FSharp Lint)

  • Build
  • Run ./fsharplint.exe -sf testing/test.fs

Custom analyzers with F#

  • build and compile into nupkg
  • dotnet restore
  • dotnet build
  • dotnet pack
  • dotnet pack --output nupkgs

After packing it unzip the nuget file into the packages directory where you want to test the analyzer.

Misc

  • install paket dotnet tool install --global Paket --version 5.189.1

  • paket restore

  • restart vscode

  • dotnet new classlib -lang F#

  • dotnet restore

  • rem edit the .fsproj file here as per the C# instructions

  • dotnet build

  • dotnet pack

Clone this wiki locally