Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Setup.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import System.IO (stdout, hFlush)
-- For now let the user (or CI system) know that it
-- is not unusual for there to be no output for a
-- long time.
main = defaultMain

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

defaultMain is not in scope here, so building with Setup.hs will always fail.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran into this myself, see #24

{-
main = defaultMainWithHooks simpleUserHooks {
buildHook = \a b c d -> do
void . forkIO $
Expand All @@ -19,3 +21,4 @@ main = defaultMainWithHooks simpleUserHooks {
hFlush stdout
buildHook simpleUserHooks a b c d
}
-}
20 changes: 9 additions & 11 deletions jsaddle-dom.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 2.2
name: jsaddle-dom
version: 0.9.5.0
build-type: Custom
build-type: Simple
license: MIT
license-file: LICENSE
maintainer: Hamish Mackenzie <Hamish.K.Mackenzie@googlemail.com>
Expand All @@ -12,11 +12,6 @@ description:
category: Web
author: Hamish Mackenzie

custom-setup
setup-depends:
base >=4.5 && <4.17,
Cabal >=2.4 && <3.7

source-repository head
type: git
location: https://github.com/ghcjs/jsaddle-dom
Expand All @@ -29,9 +24,12 @@ library

if impl(ghcjs -any)
build-depends:
ghcjs-base >=0.2.0.0 && <0.3,
ghcjs-base >=0.2.0.0 && <1.1,
ghcjs-prim -any,
ghc-prim -any
if arch(javascript)
build-depends:
ghcjs-base -any
exposed-modules:
JSDOM.Custom.AudioContext
JSDOM.Custom.Database
Expand Down Expand Up @@ -1219,11 +1217,11 @@ library
JSDOM.Generated.XSLTProcessor as JSDOM.XSLTProcessor
build-depends:
base >=4.7.0.0 && <5,
base-compat >=0.9.0 && <0.12,
base-compat >=0.9.0 && <0.14,
exceptions >=0.8 && <0.11,
transformers >=0.2 && <0.6,
text >=0.11.0.6 && <1.3,
transformers >=0.2 && <0.7,
text >=0.11.0.6 && <2.2,
jsaddle >=0.9.3.0 && <0.10,
lens >=4.12.3 && <4.20
lens >=4.12.3 && <5.3
default-language: Haskell2010
hs-source-dirs: src