toy-datalog-web/frontend/frontend.cabal

69 lines
1.9 KiB
Plaintext
Raw Normal View History

name: frontend
version: 0.1
cabal-version: >= 1.8
build-type: Simple
library
hs-source-dirs: src
build-depends: base
, common
, containers
, jsaddle
, lens
, megaparsec
, obelisk-executable-config-lookup
, obelisk-frontend
, obelisk-generated-static
, obelisk-route
, reflex-dom-core
, text
, toy-datalog
exposed-modules:
Frontend
default-extensions:
ImportQualifiedPost,
OverloadedStrings,
FlexibleContexts
ghc-options: -Wall -O -fno-show-valid-hole-fits
-- unsafe code
-Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields
-- unneeded code
-Widentities -Wredundant-constraints
if impl(ghc >= 8.8)
ghc-options:
-Wmissing-deriving-strategies
executable frontend
main-is: main.hs
hs-source-dirs: src-bin
build-depends: base
, common
, containers
, jsaddle
, lens
, megaparsec
, obelisk-executable-config-lookup
, obelisk-frontend
, obelisk-generated-static
, obelisk-route
, reflex-dom-core
, text
, toy-datalog
default-extensions:
ImportQualifiedPost,
OverloadedStrings,
FlexibleContexts
ghc-options: -Wall -O -fno-show-valid-hole-fits -threaded
-- unsafe code
-Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields
-- unneeded code
-Widentities -Wredundant-constraints
if impl(ghc >= 8.8)
ghc-options:
-Wmissing-deriving-strategies
if impl(ghcjs)
ghc-options: -dedupe
cpp-options: -DGHCJS_BROWSER
if os(darwin)
ghc-options: -dynamic