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