Applied more formatting; added Makefile (#4)

Reviewed-on: #4
Co-authored-by: Igor Ranieri <igor@elland.me>
Co-committed-by: Igor Ranieri <igor@elland.me>
This commit is contained in:
Igor Ranieri 2025-09-27 07:51:09 +00:00 committed by elland
parent f4912d3339
commit d8ba47a8b6
4 changed files with 285 additions and 274 deletions

9
Makefile Normal file
View file

@ -0,0 +1,9 @@
.PHONY: help
help: ## Show this help.
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
.PHONY: format
format:
find . -type f -name "*.hs" ! -path "./dist-newstyle/*" -exec fourmolu -i {} +
cabal-gild --io=haddock2.cabal