Home assessment for the POD group.
$ git clone https://github.com/Idrek/POD-assessment && cd $_
$ dotnet tool restore
$ dotnet fake run build.fsx
$ nuget add packages/POD.1.0.0.nupkg -Source /tmp/source/nuget
$ cd /tmp && dotnet new console --language F# --name Demo && cd $_
$ dotnet add package POD --source /tmp/source/nuget --version 1.0.0
Replace the code in Program.fs
with:
module R = Roman
R.fromDecimal 19 |> printfn "Output: %A"
And run:
$ dotnet run --project Demo.fsproj
To avoid losing the code formatting with fantomas as a client git hook, I have saved it in githooks/pre-commit
, so a symlink is neccesary from the .git/hooks
directory, like:
$ ln -s '../../githooks/pre-commit' '.git/hooks/pre-commit'