-
Notifications
You must be signed in to change notification settings - Fork 0
/
sr-dom.cabal
55 lines (51 loc) · 1.51 KB
/
sr-dom.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
cabal-version: 2.2
name: sr-dom
version: 0.1.1
synopsis: Browser DOM interface GHCJS
homepage: github.com/seereason/sr-dom
license: BSD-3-Clause
author: Clifford Beshers
maintainer: Clifford Beshers <[email protected]>
category: Web
flag Debug
Description: Enable debug output
Default: False
Manual: True
library
if impl (ghcjs)
Buildable: True
hs-source-dirs: src
default-language: Haskell2010
Default-Extensions: CPP
exposed-modules: SeeReason.DOM, SeeReason.DOM.JS, SeeReason.DOM.Monad, SeeReason.DOM.Types
-- exposed-modules: SeeReason.DOM.Call
exposed-modules: SeeReason.DOM.AlderCompat
ghcjs-options: -Wincomplete-patterns
if flag(Debug)
cpp-options: "-DDEBUG_CLIENT"
build-depends:
aeson,
base >=4.8 && <5,
errors,
exceptions,
ghcjs-base,
ghcjs-dom,
ghcjs-dom-jsffi,
-- acme-iot,
-- lens,
mtl,
-- safe,
-- stm,
text,
time,
-- transformers,
-- type-level-sets
executable sr-dom-test-client
default-language: Haskell2010
if impl (ghcjs)
Buildable: True
hs-source-dirs: tests
main-is: DOMTest.hs
GHCJS-OPTIONS: -Wno-missing-home-modules
default-extensions: OverloadedStrings, ScopedTypeVariables, TypeFamilies, ConstraintKinds
build-depends: base