Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1022 Bytes

README.md

File metadata and controls

41 lines (28 loc) · 1022 Bytes

my answers in Haskell Haskell CI

This project builds with The Haskell Tool Stack.

Setup:

curl -sSL https://get.haskellstack.org/ | sh -s -
stack setup

Run the Hspec test suite:

stack test aoc2021:test:aoc2021-test

Run criterion benchmarks (results online):

stack bench aoc2021:bench:aoc2021-bench

Print solutions for the inputs provided in local data files:

stack build aoc2021:exe:aoc2021-exe --exec aoc2021-exe

Generate Haddock API documentation:

stack haddock aoc2021:lib

Run hlint source code suggestions:

stack build hlint --exec 'hlint src test bench'