60 lines
1.5 KiB
Plaintext
60 lines
1.5 KiB
Plaintext
name: frontend
|
|
version: 0.1
|
|
cabal-version: >= 1.10
|
|
build-type: Simple
|
|
|
|
library
|
|
hs-source-dirs: src
|
|
build-depends: base
|
|
, common
|
|
, obelisk-frontend
|
|
, obelisk-route
|
|
, jsaddle
|
|
, reflex-dom-core
|
|
, obelisk-executable-config-lookup
|
|
, obelisk-generated-static
|
|
, text
|
|
, string-interpolate
|
|
, containers
|
|
, aeson
|
|
, bytestring
|
|
, witherable
|
|
, transformers
|
|
, time
|
|
, lens
|
|
, random
|
|
default-extensions:
|
|
RecursiveDo
|
|
RankNTypes
|
|
FlexibleContexts
|
|
PartialTypeSignatures
|
|
ScopedTypeVariables
|
|
OverloadedStrings
|
|
TypeFamilies
|
|
RecursiveDo
|
|
LambdaCase
|
|
DeriveGeneric
|
|
exposed-modules:
|
|
Frontend
|
|
other-modules:
|
|
HydraPay.Config
|
|
HydraPay.Api
|
|
ghc-options: -Wall -Wredundant-constraints -Wincomplete-uni-patterns -Wincomplete-record-updates -O -fno-show-valid-hole-fits
|
|
|
|
executable frontend
|
|
main-is: main.hs
|
|
hs-source-dirs: src-bin
|
|
build-depends: base
|
|
, common
|
|
, obelisk-frontend
|
|
, obelisk-route
|
|
, reflex-dom
|
|
, obelisk-generated-static
|
|
, frontend
|
|
ghc-options: -threaded -O -Wall -Wredundant-constraints -Wincomplete-uni-patterns -Wincomplete-record-updates -fno-show-valid-hole-fits
|
|
if impl(ghcjs)
|
|
ghc-options: -dedupe
|
|
cpp-options: -DGHCJS_BROWSER
|
|
if os(darwin)
|
|
ghc-options: -dynamic
|