46 lines
1.3 KiB
Plaintext
46 lines
1.3 KiB
Plaintext
cabal-version: 3.4
|
|
name: ncdeck
|
|
version: 0.1.0.0
|
|
-- synopsis:
|
|
-- description:
|
|
license: AGPL-3.0-only
|
|
license-file: LICENSE
|
|
author: Christian Ulrich
|
|
maintainer: christian@ulrich.earth
|
|
-- copyright:
|
|
category: Web
|
|
build-type: Simple
|
|
extra-doc-files: CHANGELOG.md
|
|
|
|
common settings
|
|
ghc-options: -Wall
|
|
default-language: GHC2021
|
|
default-extensions: NoFieldSelectors
|
|
, DuplicateRecordFields
|
|
, OverloadedRecordDot
|
|
, OverloadedStrings
|
|
, RecordWildCards
|
|
, ExtendedDefaultRules
|
|
, DeriveGeneric
|
|
, DataKinds
|
|
|
|
library
|
|
import: settings
|
|
exposed-modules: NCDeck
|
|
build-depends: base ^>=4.17.2.1
|
|
, aeson
|
|
, req
|
|
, text
|
|
, time
|
|
hs-source-dirs: src
|
|
|
|
executable ncdeck
|
|
import: settings
|
|
main-is: Main.hs
|
|
build-depends: base ^>=4.17.2.1
|
|
, ncdeck
|
|
, optparse-applicative
|
|
, text
|
|
, time
|
|
hs-source-dirs: app
|