forked from elland/haddock2
Applied more formatting; added Makefile (#4)
Reviewed-on: elland/haddock2#4 Co-authored-by: Igor Ranieri <igor@elland.me> Co-committed-by: Igor Ranieri <igor@elland.me>
This commit is contained in:
parent
f4912d3339
commit
d8ba47a8b6
4 changed files with 285 additions and 274 deletions
9
Makefile
Normal file
9
Makefile
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue