From 44a9aba3af8bd2254d09516ec49892e27fe0196f Mon Sep 17 00:00:00 2001 From: Hiroki Tokunaga Date: Fri, 14 Apr 2023 01:19:37 +0900 Subject: [PATCH] Generate the cabal file with the latest hpack (#700) * Do not convert LF to CRLF * Generate the cabal file with the latest hpack --- hindent.cabal | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/hindent.cabal b/hindent.cabal index 091f8dd1d..925f7dbbf 100644 --- a/hindent.cabal +++ b/hindent.cabal @@ -1,6 +1,6 @@ cabal-version: 2.0 --- This file has been generated from package.yaml by hpack version 0.34.4. +-- This file has been generated from package.yaml by hpack version 0.35.1. -- -- see: https://github.com/sol/hpack @@ -67,6 +67,8 @@ library HIndent.Printer other-modules: Paths_hindent + autogen-modules: + Paths_hindent hs-source-dirs: src ghc-options: -Wall -O2 @@ -91,19 +93,21 @@ library , unicode-show , utf8-string , yaml + default-language: Haskell2010 if impl(ghc >= 9.4.1) build-depends: ghc-lib-parser >=9.4.1.20220807 && <9.5 else build-depends: ghc-lib-parser >=9.2.3.20220527 && <9.3 - default-language: Haskell2010 library hindent-internal exposed-modules: HIndent.Internal.Test.Markdone other-modules: Paths_hindent + autogen-modules: + Paths_hindent hs-source-dirs: internal ghc-options: -Wall -O2 @@ -129,13 +133,13 @@ library hindent-internal , unicode-show , utf8-string , yaml + default-language: Haskell2010 if impl(ghc >= 9.4.1) build-depends: ghc-lib-parser >=9.4.1.20220807 && <9.5 else build-depends: ghc-lib-parser >=9.2.3.20220527 && <9.3 - default-language: Haskell2010 executable hindent main-is: Main.hs @@ -169,19 +173,21 @@ executable hindent , unicode-show , utf8-string , yaml + default-language: Haskell2010 if impl(ghc >= 9.4.1) build-depends: ghc-lib-parser >=9.4.1.20220807 && <9.5 else build-depends: ghc-lib-parser >=9.2.3.20220527 && <9.3 - default-language: Haskell2010 test-suite hindent-test type: exitcode-stdio-1.0 main-is: Main.hs other-modules: Paths_hindent + autogen-modules: + Paths_hindent hs-source-dirs: tests ghc-options: -Wall -O2 @@ -210,19 +216,21 @@ test-suite hindent-test , unicode-show , utf8-string , yaml + default-language: Haskell2010 if impl(ghc >= 9.4.1) build-depends: ghc-lib-parser >=9.4.1.20220807 && <9.5 else build-depends: ghc-lib-parser >=9.2.3.20220527 && <9.3 - default-language: Haskell2010 benchmark hindent-bench type: exitcode-stdio-1.0 main-is: Main.hs other-modules: Paths_hindent + autogen-modules: + Paths_hindent hs-source-dirs: benchmarks ghc-options: -Wall -O2 @@ -251,10 +259,10 @@ benchmark hindent-bench , unicode-show , utf8-string , yaml + default-language: Haskell2010 if impl(ghc >= 9.4.1) build-depends: ghc-lib-parser >=9.4.1.20220807 && <9.5 else build-depends: ghc-lib-parser >=9.2.3.20220527 && <9.3 - default-language: Haskell2010