packages feed

test-karya-0.0.2: test-karya.cabal

name: test-karya
version: 0.0.2
cabal-version: >=1.10
build-type: Simple
synopsis: Testing framework.
description:
    This is Karya's test framework, extracted to be usable standalone.

category: Haskell, Test
license: BSD3
license-file: LICENSE
author: Evan Laforge
maintainer: Evan Laforge <qdunkan@gmail.com>
stability: stable
tested-with: GHC>=8.0.2
extra-source-files:
    LICENSE
    TODO
    README.md
    example/example.cabal
    example/src/*.hs

homepage: https://github.com/elaforge/test-karya
source-repository head
    type: git
    location: git://github.com/elaforge/test-karya.git

library
    hs-source-dirs: src
    default-language: Haskell2010
    ghc-options:
        -Wall -Wno-name-shadowing -Wno-unused-do-bind -Wno-type-defaults
    build-depends:
        Diff
        , QuickCheck
        , base >= 4.9 && < 5
        , bytestring
        , containers
        , data-ordlist
        , deepseq
        , directory
        , filepath
        , ghc-prim
        , pcre-heavy >=0.2
        , pcre-light >=0.4
        , text
        , unix

        -- RunTests
        , async
        , process

        -- for pprint
        , pretty, haskell-src
    exposed-modules:
        EL.Test.ApproxEq
        EL.Test.Global
        EL.Test.Testing
        EL.Test.RunTests
    -- Previously I had these in a local internal library, but cabal
    -- would install only the internal library, and not the public one.
    -- Now I just copy paste the dependencies between the library and the
    -- executable as is traditional with cabal, and it seems to work.
    other-modules:
        EL.Private.Cpu
        EL.Private.ExtractHs
        EL.Private.Map
        EL.Private.PPrint
        EL.Private.Ranges
        EL.Private.Regex
        EL.Private.Seq
        EL.Private.Then
        EL.Private.File
        EL.Private.Process
        Global

executable test-karya-generate
    hs-source-dirs: src
    default-language: Haskell2010
    ghc-options:
        -Wall -Wno-name-shadowing -Wno-unused-do-bind -Wno-type-defaults
    main-is: EL/Test/TestKaryaGenerate.hs
    ghc-options: -main-is EL.Test.TestKaryaGenerate
    build-depends:
        test-karya
        , base
        , bytestring
        , containers
        , directory
        , filepath
        , text
        , pcre-heavy >=0.2
        , pcre-light >=0.4

    other-modules:
        EL.Private.ExtractHs
        EL.Private.Regex
        Global