39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
name: frontend
|
|
version: 0.1
|
|
cabal-version: >= 1.8
|
|
build-type: Simple
|
|
|
|
library
|
|
hs-source-dirs: src
|
|
build-depends: base
|
|
, common
|
|
, obelisk-frontend
|
|
, obelisk-route
|
|
, jsaddle
|
|
, reflex-dom-core
|
|
, reflex-material
|
|
, obelisk-executable-config-lookup
|
|
, obelisk-generated-static
|
|
, text
|
|
exposed-modules:
|
|
Frontend
|
|
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
|
|
, reflex-material
|
|
, 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
|