Commit 89d4541f authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺

Move lib:parsec source into own subfolder

This makes it more uniform with the test-suite source folder
organisation, and makes sure the lib source doesn't accidentally leak
into the test-suite component.
parent eb858f0b
......@@ -28,6 +28,7 @@ source-repository head
location: https://github.com/haskell/parsec
library
hs-source-dirs: src
exposed-modules:
Text.Parsec
Text.Parsec.String
......@@ -82,8 +83,8 @@ library
build-depends: fail == 4.9.*
test-suite parsec
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
other-modules:
......@@ -102,6 +103,8 @@ test-suite parsec
test-framework >= 0.6 && < 0.9,
test-framework-hunit >= 0.2 && < 0.4
default-language: Haskell2010
ghc-options: -Wall
if impl(ghc >= 8.0)
ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment