diff options
Diffstat (limited to 'backend/backend.cabal')
-rw-r--r-- | backend/backend.cabal | 43 |
1 files changed, 18 insertions, 25 deletions
diff --git a/backend/backend.cabal b/backend/backend.cabal index f92dd46..b2ca82b 100644 --- a/backend/backend.cabal +++ b/backend/backend.cabal @@ -8,42 +8,31 @@ author: Alexander Foremny build-type: Simple library - exposed-modules: ACMS.API.REST.Collection + exposed-modules: + ACMS.API.REST + ACMS.API.REST.Collection + hs-source-dirs: lib default-language: GHC2021 default-extensions: - BlockArguments LambdaCase OverloadedStrings ViewPatterns + CPP BlockArguments LambdaCase OverloadedStrings ViewPatterns OverloadedRecordDot NoFieldSelectors MultiWayIf ghc-options: -Wall -threaded build-depends: aeson, - astore, - attoparsec, - autotypes, base, bytestring, - common, - containers, - directory, - filepath, - gitlib, - gitlib-libgit2, - hinotify, - hlibgit2, - http-conduit, - http-types, - mtl, - optparse-applicative, - safe, - split, - stm, - tagged, + exceptions, + miso, text, - utf8-string, - uuid, - wai, - warp + utf8-string + + if arch(javascript) + build-depends: ghcjs-base + + else + build-depends: http-conduit executable backend main-is: Main.hs @@ -79,5 +68,9 @@ executable backend tagged, text, utf8-string, + uuid, wai, warp + + if arch(javascript) + buildable: False |