on master help sign in
skeleton: Fix Haddock build of GHCJS frontend
commit03d43c996333be688e2a76b3ad90dd157b1210a1 authorElliot Cameron <eacameron@gmail.com> dateWed 20 May 2020, 10:25 (6 years ago) parent5401134
1 file changed+3−7
skeleton/frontend/frontend.cabal+3−7
skeleton/frontend/frontend.cabal+3−7
@@ -17,9 +17,6 @@ library
1717 exposed-modules:
1818 Frontend
1919 ghc-options: -Wall
20− if impl(ghcjs -any)
21− ghc-options: -dedupe
22− cpp-options: -DGHCJS_BROWSER
2320
2421executable frontend
2522 main-is: main.hs
@@ -31,10 +28,9 @@ executable frontend
3128 , reflex-dom
3229 , obelisk-generated-static
3330 , frontend
34− --TODO: Make these ghc-options optional
3531 ghc-options: -threaded
36− if os(darwin)
37− ghc-options: -dynamic
38− if impl(ghcjs -any)
32+ if impl(ghcjs)
3933 ghc-options: -dedupe
4034 cpp-options: -DGHCJS_BROWSER
35+ if os(darwin)
36+ ghc-options: -dynamic