2021-12-20 13:16:50 +00:00
|
|
|
cabal-version: 3.4
|
2021-12-22 03:28:03 +00:00
|
|
|
name: initial-encoding
|
2021-12-20 13:16:50 +00:00
|
|
|
version: 0.1.0.0
|
|
|
|
|
2021-12-22 13:02:59 +00:00
|
|
|
executable initial-encoding
|
2021-12-20 13:16:50 +00:00
|
|
|
main-is: Main.hs
|
2021-12-20 13:53:18 +00:00
|
|
|
build-depends: base ^>=4.14.3.0,
|
2021-12-22 03:28:03 +00:00
|
|
|
initial-encoding,
|
2021-12-20 13:53:18 +00:00
|
|
|
megaparsec,
|
2021-12-22 03:28:03 +00:00
|
|
|
mtl,
|
2021-12-20 13:53:18 +00:00
|
|
|
optparse-applicative,
|
|
|
|
text,
|
|
|
|
hs-source-dirs: app
|
|
|
|
default-language: Haskell2010
|
|
|
|
|
|
|
|
library
|
2021-12-20 13:16:50 +00:00
|
|
|
build-depends: base ^>=4.14.3.0,
|
|
|
|
deepseq,
|
|
|
|
megaparsec,
|
|
|
|
mtl,
|
|
|
|
parser-combinators,
|
|
|
|
text,
|
|
|
|
transformers,
|
|
|
|
transformers-either
|
2021-12-20 13:53:18 +00:00
|
|
|
hs-source-dirs: src
|
2021-12-20 13:16:50 +00:00
|
|
|
default-language: Haskell2010
|
2021-12-20 13:53:18 +00:00
|
|
|
exposed-modules: Parser
|
2021-12-20 14:01:27 +00:00
|
|
|
|
2021-12-22 13:02:59 +00:00
|
|
|
test-suite initial-encoding-test
|
2021-12-20 14:01:27 +00:00
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: Driver.hs
|
|
|
|
hs-source-dirs: test
|
|
|
|
build-depends: base ^>=4.14.3.0,
|
|
|
|
HUnit,
|
|
|
|
hspec,
|
2021-12-22 03:28:03 +00:00
|
|
|
initial-encoding,
|
2021-12-20 14:01:27 +00:00
|
|
|
megaparsec,
|
|
|
|
tasty,
|
|
|
|
tasty-discover,
|
|
|
|
tasty-hspec,
|
|
|
|
text
|
|
|
|
other-modules: Test.ParserTest
|