85 lines
1.8 KiB
YAML
85 lines
1.8 KiB
YAML
name: Purr
|
|
version: 0.3.0
|
|
license: ISC
|
|
author: "James Eversole"
|
|
maintainer: "james@eversole.co"
|
|
copyright: "2022 James Eversole"
|
|
|
|
extra-source-files:
|
|
- README
|
|
- ChangeLog.md
|
|
|
|
default-extensions:
|
|
- ConstraintKinds
|
|
- DeriveGeneric
|
|
- FlexibleContexts
|
|
- FlexibleInstances
|
|
- GeneralizedNewtypeDeriving
|
|
- OverloadedStrings
|
|
- ScopedTypeVariables
|
|
|
|
# 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: https://git.eversole.co/James/Purr
|
|
|
|
dependencies:
|
|
- base >= 4.7
|
|
- base64-bytestring >= 1.2.0.0
|
|
- blaze-html >= 0.9.1.0
|
|
- bytestring >= 0.10.12.1
|
|
- containers >= 0.6.4.1
|
|
- dhall >= 1.40
|
|
- file-embed == 0.0.15.0
|
|
- http-types >= 0.12.3
|
|
- iso8601-time >= 0.1.5
|
|
- mtl >= 2.2.2
|
|
- random >= 1.2
|
|
- saltine >= 0.2.0.0
|
|
- scotty >= 0.12
|
|
- shakespeare >= 2.0.20
|
|
- sqlite-simple >= 0.4.18.0
|
|
- split >= 0.2.3.4
|
|
- time >= 1.9
|
|
- text >= 1.2.5.0
|
|
- utf8-string == 1.0.2
|
|
- wai-extra >= 3.1.12.1
|
|
- wai-middleware-static >= 0.5
|
|
|
|
library:
|
|
source-dirs: src
|
|
|
|
executables:
|
|
Purr-musl:
|
|
main: Main.hs
|
|
source-dirs: app
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
#- -static
|
|
#- -optl-static
|
|
#- -optl-pthread
|
|
- -fPIC
|
|
dependencies:
|
|
- Purr
|
|
|
|
#tests:
|
|
# Purr-test:
|
|
# main: Spec.hs
|
|
# source-dirs: test
|
|
# ghc-options:
|
|
# - -threaded
|
|
# - -rtsopts
|
|
# - -with-rtsopts=-N
|
|
# - -static
|
|
# - -optl-static
|
|
# - -optl-pthread
|
|
# - -fPIC
|
|
# dependencies:
|
|
# - Purr
|