jon/package.yaml

65 lines
1.3 KiB
YAML

# Adapted from new-template.hsfiles
name: jon
version: 0.1.0.0
git: "https://git.fsmi.org/paul/jon"
license: MIT
author: "Paul Brinkmeier"
maintainer: "paul.brinkmeier@fsmi.uni-karlsruhe.de"
copyright: "2022 Paul Brinkmeier"
extra-source-files:
- README.md
dependencies:
- base >= 4.7 && < 5
- beam-core
- beam-postgres
- bytestring
- postgresql-simple
- servant-server
- scientific
- text
- time
ghc-options:
- -Wall
- -Wcompat
- -Widentities
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wmissing-export-lists
- -Wmissing-home-modules
- -Wpartial-fields
- -Wredundant-constraints
library:
source-dirs: src
executables:
jon-exe:
main: Main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- jon
# Fix "Multiple files use the same module name", see
# https://stackoverflow.com/questions/67519851/multiple-files-use-the-same-module-name
when:
- condition: false
other-modules: Paths_jon
tests:
jon-test:
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- jon