diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..068aa35 --- /dev/null +++ b/Makefile @@ -0,0 +1,8 @@ +.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 {} + +