Skip to content

Commit b944fe7

Browse files
committed
trying new js backend
1 parent 92259b1 commit b944fe7

File tree

12 files changed

+995
-79
lines changed

12 files changed

+995
-79
lines changed

cabal.project

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,31 @@ allow-newer: base,
1313
filepath,
1414
os-string,
1515
directory,
16+
secp256k1,
1617
geojson:*,
18+
stopwatch:*,
19+
Cabal
1720

1821
package unix
1922
flags: +os-string
2023

2124
package directory
2225
flags: +os-string
2326

27+
source-repository-package
28+
type: git
29+
location: https://github.com/dorchard/type-level-sets.git
30+
tag: d71becf49c092cd7697f39e4f4fb55b289af3d31
31+
--sha256: qr2x4XbY66pXK/8u5PcGrXWrupG6Rt3yXshgOqKCsBs=
32+
33+
if impl(ghc >= 9)
34+
source-repository-package
35+
type: git
36+
location: https://github.com/hamishmack/foundation.git
37+
tag: b424e329db3a8e57af177e872e7a26cebf72d6b3
38+
--sha256: lTrb3qh1ktwrV8PEBjYa7POETvzSbEq2HFXDKqsGRmY=
39+
subdir: basement
40+
2441
if !arch(javascript)
2542
if impl(ghc >= 9)
2643
allow-older: reanimate:*
@@ -45,22 +62,11 @@ if !arch(javascript)
4562
location: https://github.com/santiweight/reanimate-svg.git
4663
tag: d63925781efa9834ba35036da83167f55af3c134
4764
--sha256: Xd6P82FepedcjjWRGjVNmdbDKRIH3Zl0haLiF3v1GDw=
48-
source-repository-package
49-
type: git
50-
location: https://github.com/dorchard/type-level-sets.git
51-
tag: d71becf49c092cd7697f39e4f4fb55b289af3d31
52-
--sha256: qr2x4XbY66pXK/8u5PcGrXWrupG6Rt3yXshgOqKCsBs=
5365
source-repository-package
5466
type: git
5567
location: https://github.com/lagunoff/hs-gauge.git
5668
tag: 2b803d12c8bae8d5971748d74234dd5cbb5025a1
5769
--sha256: n4BBVxcsYNYQRTacSfYn7BNFvom8Haf7DXiHT45RAf0=
58-
source-repository-package
59-
type: git
60-
location: https://github.com/hamishmack/foundation.git
61-
tag: b424e329db3a8e57af177e872e7a26cebf72d6b3
62-
--sha256: lTrb3qh1ktwrV8PEBjYa7POETvzSbEq2HFXDKqsGRmY=
63-
subdir: basement
6470
source-repository-package
6571
type: git
6672
location: https://github.com/hedgehogqa/haskell-hedgehog.git
@@ -103,6 +109,8 @@ if arch(wasm32)
103109

104110
if arch(javascript)
105111
packages:
112+
pub/hs-bitcoin-keys/bitcoin-keys/*.cabal
113+
pub/haskell-bitcoin-script/*.cabal
106114
pub/singlethongs/*.cabal
107115
pub/functora/src/*.cabal
108116
pub/vector-space/*.cabal

ghcjs/delivery-calculator/delivery-calculator.cabal

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ common pkg
4848
ghc-options: -Wno-missing-kind-signatures
4949

5050
if impl(ghc >=9.8)
51-
ghc-options: -Wno-missing-role-annotations
51+
ghc-options:
52+
-Wno-missing-role-annotations -Wno-missing-poly-kind-signatures
5253

5354
cpp-options: -Wno-trigraphs
5455
default-extensions:
@@ -94,30 +95,24 @@ common pkg
9495

9596
build-depends:
9697
, aeson
97-
, async
9898
, barbies
9999
, base
100-
, base16-bytestring
101100
, base64-bytestring
102-
, binary
103-
, bitcoin-address
104101
, bytestring
105102
, containers
106103
, functora-ghcjs
107-
, fuzzy
108-
, jsaddle
109104
, microlens
110105
, miso
111106
, miso-components
112107
, miso-widgets
113108
, modern-uri
114-
, network-uri
115-
, qrcode-core
116-
, random
117109
, SpreadsheetML
118110
, syb
119-
, text
120-
, uglymemo
111+
112+
if flag(ghcid)
113+
build-depends:
114+
, jsaddle
115+
, network-uri
121116

122117
if os(wasi)
123118
build-depends: jsaddle-wasm
@@ -160,6 +155,7 @@ test-suite delivery-calculator-test
160155
main-is: Spec.hs
161156
hs-source-dirs: test
162157
other-modules: App.TypesSpec
158+
ghc-options: -Wno-missing-export-lists
163159
build-depends:
164160
, aeson
165161
, hspec

0 commit comments

Comments
 (0)