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 ...@@ -28,6 +28,7 @@ source-repository head
location: https://github.com/haskell/parsec location: https://github.com/haskell/parsec
library library
hs-source-dirs: src
exposed-modules: exposed-modules:
Text.Parsec Text.Parsec
Text.Parsec.String Text.Parsec.String
...@@ -82,10 +83,10 @@ library ...@@ -82,10 +83,10 @@ library
build-depends: fail == 4.9.* build-depends: fail == 4.9.*
test-suite parsec test-suite parsec
default-language: Haskell2010 type: exitcode-stdio-1.0
type: exitcode-stdio-1.0
hs-source-dirs: test hs-source-dirs: test
main-is: Main.hs main-is: Main.hs
other-modules: other-modules:
Bugs Bugs
Bugs.Bug2 Bugs.Bug2
...@@ -102,6 +103,8 @@ test-suite parsec ...@@ -102,6 +103,8 @@ test-suite parsec
test-framework >= 0.6 && < 0.9, test-framework >= 0.6 && < 0.9,
test-framework-hunit >= 0.2 && < 0.4 test-framework-hunit >= 0.2 && < 0.4
default-language: Haskell2010
ghc-options: -Wall ghc-options: -Wall
if impl(ghc >= 8.0) if impl(ghc >= 8.0)
ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances 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