name: simple-src-utils
version: 0.1
cabal-version: >= 1.8
build-type: Simple
synopsis: source code editing utilities
description:
    Collection of small utilities to manipulate source code.

category: Haskell, Development
license: BSD3
license-file: LICENSE
author: Evan Laforge
maintainer: Evan Laforge <qdunkan@gmail.com>
stability: stable
tested-with:
    GHC ==7.8.4, GHC ==7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.1
data-files:
    README.md
    TODO
    vimrc

homepage: https://github.com/elaforge/simple-src-utils
source-repository head
    type: git
    location: git://github.com/elaforge/simple-src-utils.git

executable string-literal
    main-is: StringLiteral.hs
    hs-source-dirs: src
    other-modules: Util
    build-depends:
        base >= 3 && < 5,
        text,
        extra
    ghc-options:
        -main-is StringLiteral -Wall -fno-warn-name-shadowing

test-suite test-string-literal
    type: exitcode-stdio-1.0
    main-is: StringLiteral_test.hs
    hs-source-dirs: src
    other-modules: Util, StringLiteral
    ghc-options: -Wall -fno-warn-name-shadowing -fno-warn-type-defaults
    build-depends:
        base >= 3 && < 5,
        text,
        extra,
        tasty, tasty-hunit

executable cmt
    main-is: Cmt.hs
    hs-source-dirs: src
    other-modules: Util
    build-depends:
        base >= 3 && < 5,
        text,
        extra
    ghc-options:
        -main-is Cmt -Wall -fno-warn-name-shadowing

test-suite test-cmt
    type: exitcode-stdio-1.0
    main-is: Cmt_test.hs
    hs-source-dirs: src
    other-modules: Util, Cmt
    ghc-options: -Wall -fno-warn-name-shadowing -fno-warn-type-defaults
    build-depends:
        base >= 3 && < 5,
        text,
        extra,
        tasty, tasty-hunit