name:                q
version:             0.1.0.0
#github:              "githubuser/q"
license:             AllRightsReserved
#author:              "Author name here"
#maintainer:          "example@example.com"
#copyright:           "2019 Author name here"

extra-source-files:
- README.md
- ChangeLog.md

# Metadata used when publishing your package
# synopsis:            Short description of your package
# category:            Web

# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
#description:         Please see the README on GitHub at <https://github.com/githubuser/q#readme>

dependencies:
- base >= 4.7 && < 5
- async
- brick
- conduit
- JuicyPixels
- microlens-platform
- mtl
- optparse-applicative
- qd
- template-haskell
- text
- typed-process
- unordered-containers
- vty

default-extensions:
- LambdaCase
- MultiWayIf
- NamedFieldPuns
- OverloadedStrings
- ScopedTypeVariables
- NamedFieldPuns

ghc-options:
- -fwarn-unused-do-bind
- -fwarn-tabs
- -Wall
- -Werror
- -O2

library:
  source-dirs: src

executables:
  q:
    main:                Main.hs
    source-dirs:         app
    ghc-options:
    - -threaded
    - -rtsopts
    - '"-with-rtsopts=-N -I0"'
    dependencies:
    - q

tests:
  q-test:
    main:                Spec.hs
    source-dirs:         test
    ghc-options:
    - -threaded
    - -rtsopts
    - '"-with-rtsopts=-N -I0"'
    dependencies:
    - q