Skip to content
Snippets Groups Projects
Select Git revision
  • 8-conclusion
  • master default protected
  • 7.contravariant
  • 6-cleanup
  • 5-connecting-to-db
  • 4-types-of-todo
  • 3-hello-webserver
  • 2-hello-monad
8 results

package.yaml

package.yaml 1.28 KiB
name:                haskell-tutorial
version:             0.1.0.0
github:              "githubuser/haskell-tutorial"
license:             BSD3
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/haskell-tutorial#readme>

dependencies:
- base >= 4.7 && < 5
- warp >= 3.2.28 && < 4
- wai >= 3.2.2.1 && < 4
- http-types >= 0.12.3 && < 0.13

library:
  source-dirs: src

executables:
  haskell-tutorial-exe:
    main:                Main.hs
    source-dirs:         app
    ghc-options:
    - -threaded
    - -rtsopts
    - -with-rtsopts=-N
    dependencies:
    - haskell-tutorial

tests:
  haskell-tutorial-test:
    main:                Spec.hs
    source-dirs:         test
    ghc-options:
    - -threaded
    - -rtsopts
    - -with-rtsopts=-N
    dependencies:
    - haskell-tutorial