From db7fa8334097903b2775c98cbb0d548c9e386fd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sat, 26 Apr 2025 20:25:06 +0200 Subject: WebSocket API wrappers for Haskell --- erebos-webapp.cabal | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'erebos-webapp.cabal') diff --git a/erebos-webapp.cabal b/erebos-webapp.cabal index a040a0a..5da31ee 100644 --- a/erebos-webapp.cabal +++ b/erebos-webapp.cabal @@ -19,15 +19,18 @@ common warnings executable erebos-webapp import: warnings - main-is: Main.hs ghc-options: -no-hs-main -optl-mexec-model=reactor -optl-Wl,--export=hs_init,--export=setup + -fdefer-typed-holes extra-libraries: blake2b-ref - -- other-modules: + main-is: Main.hs + other-modules: + JavaScript + WebSocket default-extensions: DefaultSignatures @@ -52,6 +55,7 @@ executable erebos-webapp -- other-extensions: build-depends: base ^>= { 4.21 }, + bytestring ^>= { 0.12 }, erebos ^>= { 0.1.8 }, ghc-experimental ^>= { 9.1201 }, mtl ^>= { 2.3 }, -- cgit v1.2.3