75 lines
1.9 KiB
Plaintext
75 lines
1.9 KiB
Plaintext
name: backend
|
|
version: 0.1
|
|
cabal-version: >= 1.10
|
|
build-type: Simple
|
|
|
|
library
|
|
hs-source-dirs: src
|
|
if impl(ghcjs)
|
|
buildable: False
|
|
build-depends: base
|
|
, common
|
|
, frontend
|
|
, obelisk-backend
|
|
, obelisk-route
|
|
, process
|
|
, async
|
|
, which
|
|
, monad-logger
|
|
, logging-effect
|
|
, prettyprinter
|
|
, string-interpolate
|
|
, containers
|
|
, text
|
|
, witherable
|
|
, snap-core
|
|
, websockets-snap
|
|
, websockets
|
|
, some
|
|
, directory
|
|
, reflex-gadt-api
|
|
, aeson
|
|
, bytestring
|
|
, base64-bytestring
|
|
, case-insensitive
|
|
, lens
|
|
, uuid
|
|
, http-client
|
|
, http-conduit
|
|
, temporary
|
|
, stm
|
|
, monad-loops
|
|
, mtl
|
|
, transformers
|
|
, time
|
|
, time-compat
|
|
, transformers
|
|
, obelisk-executable-config-lookup
|
|
|
|
default-extensions:
|
|
OverloadedStrings
|
|
LambdaCase
|
|
GADTs
|
|
ScopedTypeVariables
|
|
OverloadedStrings
|
|
FlexibleContexts
|
|
QuasiQuotes
|
|
DeriveGeneric
|
|
|
|
exposed-modules:
|
|
Backend
|
|
|
|
ghc-options: -Wall -Wredundant-constraints -Wincomplete-uni-patterns -Wincomplete-record-updates -O -fno-show-valid-hole-fits
|
|
|
|
executable backend
|
|
main-is: main.hs
|
|
hs-source-dirs: src-bin
|
|
ghc-options: -Wall -Wredundant-constraints -Wincomplete-uni-patterns -Wincomplete-record-updates -O -threaded -fno-show-valid-hole-fits
|
|
if impl(ghcjs)
|
|
buildable: False
|
|
build-depends: base
|
|
, backend
|
|
, common
|
|
, frontend
|
|
, obelisk-backend
|