aoc2022/Makefile
2022-12-03 10:50:09 +01:00

35 lines
542 B
Makefile

build:
stack haddock --haddock-deps
stack build
ghcid:
stack exec -- ghcid --test ":main"
build-profile:
stack build --profile
run:
stack run
run-profile:
stack --profile run -- +RTS -p
run-memprof:
stack run -- +RTS -s
hoogle-generate:
stack hoogle -- generate --local
hoogle-serve:
stack hoogle -- serve --local
setup:
stack build ghcid
# bench:
# stack --profile bench --benchmark-arguments "--output test1.html"
# profiteur CsvHaskellTest-bench.prof
# xdg-open test1.html
# xdg-open CsvHaskellTest-bench.prof.html