From 3e829d126ca23f4fff35e8d61ad4482b8663d593 Mon Sep 17 00:00:00 2001 From: Igor Ranieri Date: Fri, 26 Sep 2025 22:33:06 +0200 Subject: [PATCH] Added cabal-gild to format cmd --- Makefile | 1 + haddock2.cabal | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 068aa35..62cad36 100644 --- a/Makefile +++ b/Makefile @@ -5,4 +5,5 @@ help: ## Show this help. .PHONY: format format: find . -type f -name "*.hs" ! -path "./dist-newstyle/*" -exec fourmolu -i {} + + cabal-gild --io=haddock2.cabal diff --git a/haddock2.cabal b/haddock2.cabal index 7fe124c..9ae122d 100644 --- a/haddock2.cabal +++ b/haddock2.cabal @@ -46,10 +46,10 @@ test-suite haddock2-test type: exitcode-stdio-1.0 main-is: Spec.hs build-depends: - parsec ^>=3.1.18.0, base >=4.20.1.0, haddock2:{haddock2-lib}, hspec ^>=2.11.0, + parsec ^>=3.1.18.0, text ^>=2.1.2, hs-source-dirs: test