on master help sign in
skeleton: Fix ghcjs.frontend build
4cb1d85Ali Abrar
skeleton/frontend/frontend.cabal+4−1
@@ -10,8 +10,9 @@ library
10 , reflex-dom
10 , reflex-dom
11 , static
11 , static
12 , text
12 , text
13− if impl(ghc)
13+ if !impl(ghcjs)
14 build-depends: obelisk-run-frontend
14 build-depends: obelisk-run-frontend
15+
15 exposed-modules:
16 exposed-modules:
16 Frontend
17 Frontend
17 ghc-options: -Wall
18 ghc-options: -Wall
@@ -20,8 +21,10 @@ executable frontend
20 main-is: main.hs
21 main-is: main.hs
21 hs-source-dirs: src
22 hs-source-dirs: src
22 build-depends: base
23 build-depends: base
24+ , common
23 , reflex-dom
25 , reflex-dom
24 , static
26 , static
27+ , text
25 , frontend
28 , frontend
26 --TODO: Make these ghc-options optional
29 --TODO: Make these ghc-options optional
27 ghc-options: -threaded
30 ghc-options: -threaded