From 1ff59a21c77efa58867663645fea82cb507b829c Mon Sep 17 00:00:00 2001 From: Phil de Joux Date: Fri, 27 Dec 2024 12:19:35 -0500 Subject: [PATCH] Avoid unnecessary diffs in make comments --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 222ebce0a84..4488d461c8c 100644 --- a/Makefile +++ b/Makefile @@ -55,16 +55,16 @@ style-todo: ## Configured for fourmolu, avoiding GHC parser failures @fourmolu -q $(FORMAT_DIRS_TODO) > /dev/null .PHONY: style -style: ## Run the code styler +style: ## Run the code styler. @fourmolu -q -i $(FORMAT_DIRS) .PHONY: style-modified -style-modified: ## Run the code styler on modified files +style-modified: ## Run the code styler on modified files. @git ls-files --modified $(FORMAT_DIRS) \ | grep '.hs$$' | xargs -P $(PROCS) -I {} fourmolu -q -i {} .PHONY: style-commit -style-commit: ## Run the code styler on the previous commit +style-commit: ## Run the code styler on the previous commit. @git diff --name-only HEAD $(COMMIT) -- $(FORMAT_DIRS) \ | grep '.hs$$' | xargs -P $(PROCS) -I {} fourmolu -q -i {}