-
Notifications
You must be signed in to change notification settings - Fork 2
/
jsaddle-wasm.cabal
66 lines (56 loc) · 1.38 KB
/
jsaddle-wasm.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
55
56
57
58
59
60
61
62
63
64
65
66
cabal-version: 3.0
name: jsaddle-wasm
version: 0.0.1.0
synopsis: Run JSaddle JSM with the GHC Wasm backend
description: Run JSaddle @JSM@ with the GHC Wasm backend.
category: Web, Javascript
homepage: https://github.com/amesgen/jsaddle-wasm
bug-reports: https://github.com/amesgen/jsaddle-wasm/issues
license: CC0-1.0
license-file: LICENSE
extra-source-files: README.md
author: amesgen
maintainer: [email protected]
extra-doc-files: CHANGELOG.md
source-repository head
location: https://github.com/amesgen/jsaddle-wasm
type: git
common common
ghc-options:
-Wall
-Wunused-packages
-Wredundant-constraints
default-language: GHC2021
default-extensions:
BlockArguments
OverloadedStrings
library js
import: common
visibility: public
hs-source-dirs: src-js
exposed-modules:
Language.Javascript.JSaddle.Wasm.JS
build-depends:
base >=4.16 && <5,
bytestring >=0.11 && <0.13,
jsaddle ^>=0.9,
library
import: common
hs-source-dirs: src
exposed-modules:
Language.Javascript.JSaddle.Wasm
other-modules:
Language.Javascript.JSaddle.Wasm.Internal
build-depends:
base >=4.16 && <5,
jsaddle ^>=0.9,
jsaddle-wasm:js,
if arch(wasm32)
build-depends:
aeson >=2 && <2.3,
bytestring >=0.11 && <0.13,
ghc-experimental ^>=0.1,
stm ^>=2.5,
hs-source-dirs: src-wasm
else
hs-source-dirs: src-native