From 295dd897297722d07ec2ce5fb82e323fe495c775 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 24 Aug 2020 17:09:34 +0200 Subject: GHC 8.8, cabal 3, pandoc 2.10 compatibility Move files around to separate Pesto (the library) and Pesto (the executables). Fixes for pandoc API changes. --- Pesto.cabal | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'Pesto.cabal') diff --git a/Pesto.cabal b/Pesto.cabal index ff13d20..e72809d 100644 --- a/Pesto.cabal +++ b/Pesto.cabal @@ -15,32 +15,30 @@ cabal-version: >=1.10 -- parsec>=3.1.9 has instance Eq ParseError library exposed-modules: Codec.Pesto, Codec.Pesto.Parse, Codec.Pesto.Graph, Codec.Pesto.Lint, Codec.Pesto.Serialize - -- other-modules: - -- other-extensions: - build-depends: base >=4.8 && <4.10, HUnit, parsec >= 3.1.9 - hs-source-dirs: src + build-depends: base >=4.8, HUnit, parsec >= 3.1.9 + hs-source-dirs: src/lib default-language: Haskell2010 ghc-options: -Werror -Wall -fno-warn-missing-signatures executable pesto main-is: Main.lhs - hs-source-dirs: src + hs-source-dirs: src/exe default-language: Haskell2010 - build-depends: base >=4.8 && <4.10, HUnit, parsec >= 3.1.9 + build-depends: base >=4.8, HUnit, parsec >= 3.1.9, Pesto ghc-options: -Werror -Wall -fno-warn-missing-signatures test-suite pesto-test type: exitcode-stdio-1.0 main-is: Test.lhs - hs-source-dirs: src + hs-source-dirs: src/exe default-language: Haskell2010 - build-depends: base >=4.8 && <4.10, Pesto, HUnit, parsec >= 3.1.9 + build-depends: base >=4.8, Pesto, HUnit, parsec >= 3.1.9, Pesto ghc-options: -Werror -Wall -fno-warn-missing-signatures executable pesto-doc main-is: Doc.lhs - hs-source-dirs: src + hs-source-dirs: src/exe default-language: Haskell2010 - build-depends: base >=4.8 && <4.10, pandoc >=2.1, text, directory + build-depends: base >=4.8, pandoc >=2.10, text, directory, Pesto, containers, doctemplates, either ghc-options: -Werror -Wall -fno-warn-missing-signatures -- cgit v1.2.3