Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 854 Bytes

DEVELOPER.md

File metadata and controls

29 lines (20 loc) · 854 Bytes

Developer README

Setup

  • To set up your system, run scripts/install-system-deps.sh
  • If stack is not already installed, install stack
  • To install stack dependencies, run scripts/install-stack-deps.sh

Build

stack build

Run tests

  • stack test :persistent-migration-test
    • Runs unit tests
    • Frameworks: tasty-golden, tasty-quickcheck
  • stack test :persistent-migration-integration
    • Runs integration tests
    • Frameworks: tasty-golden, tasty-quickcheck

To accept goldens changes, run with --test-arguments '--accept'

Linting

  • To run hlint: scripts/hlint.sh
  • To run stylish-haskell:
    • scripts/stylish-haskell.sh - will error if differences found
    • scripts/stylish-haskell.sh --apply - will overwrite (inline) with stylish fixes