aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/frontend.cabal
blob: fc8ab23e653a998bbc1d76ab4bb0a24f48dc0655 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
cabal-version:   3.4
name:            frontend
version:         0.1.0.0
license:         BSD-3-Clause
license-file:    LICENSE
maintainer:      aforemny@posteo.de
author:          Alexander Foremny
build-type:      Simple
extra-doc-files: CHANGELOG.md

executable frontend
    main-is:            Main.hs
    hs-source-dirs:     app
    default-language:   GHC2021
    default-extensions:
        CPP OverloadedStrings RecordWildCards DeriveAnyClass
        DuplicateRecordFields LambdaCase OverloadedRecordDot
        NoFieldSelectors

    ghc-options:
        -Wall -fno-warn-name-shadowing -fno-warn-ambiguous-fields
        -fno-warn-incomplete-patterns -fno-warn-orphans

    build-depends:
        aeson,
        base,
        bytestring,
        containers,
        data-default,
        miso,
        text,
        utf8-string

    if !arch(javascript)
        build-depends: jsaddle-warp

    if arch(javascript)
        build-depends: ghcjs-base

    else
        build-depends: http-conduit