aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/frontend.cabal
blob: 5674bb78abd5ce729e02277f4961c6f03c4ed776 (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
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
    ghc-options:        -Wall
    build-depends:
        base,
        bytestring,
        containers,
        miso,
        text,
        utf8-string

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

    if arch(javascript)
        build-depends: ghcjs-base
    else
        build-depends: http-conduit