Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.33 KB

README.md

File metadata and controls

44 lines (29 loc) · 1.33 KB

geojson Build Status Hackage

A thin GeoJSON Layer above the aeson library

Development

  • We use Ormolu for code formatting.

Visual Studio Code Setup

Install Command Line Apps: ormolu and hlint.

Plugins:

One installed to reformat a file:

  • Shift-Alt-F

Or configure Run on Save:

    {
        "globMatch": "{**/src/**/*.hs,**/test/**/*.hs}",
        "command": "ormolu --color always --check-idempotence --mode inplace ${file}",
        "runIn": "terminal",
        "runningStatusMessage": "Checking code style ${fileBasename}",
        "finishStatusMessage": "${fileBasename} checked"
    }

Run tests:

  • stack test :geojson-test

Run hlint:

  • stack test :geojson-hlint

Other Projects/Documentation

Geometry Survival Guide