diff options
author | Alexander Foremny <aforemny@posteo.de> | 2024-05-31 10:42:26 +0200 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2024-05-31 11:54:36 +0200 |
commit | 8d3fdb08672c89d8657dcd4475acfea56a66b906 (patch) | |
tree | df46aaf7c8e9e3331b19fd79f074f0fdc471f931 /frontend/frontend.cabal | |
parent | ec0ea18486ed2569808f2e511ecac52f812300b0 (diff) |
add frontend (boilerplate)
Diffstat (limited to 'frontend/frontend.cabal')
-rw-r--r-- | frontend/frontend.cabal | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/frontend/frontend.cabal b/frontend/frontend.cabal new file mode 100644 index 0000000..5674bb7 --- /dev/null +++ b/frontend/frontend.cabal @@ -0,0 +1,31 @@ +cabal-version: 3.4 +name: frontend +version: 0.1.0.0 +license: BSD-3-Clause +license-file: LICENSE +maintainer: aforemny@posteo.de +author: Alexander Foremny +build-type: Simple +extra-doc-files: CHANGELOG.md + +executable frontend + main-is: Main.hs + hs-source-dirs: app + default-language: GHC2021 + default-extensions: CPP OverloadedStrings RecordWildCards + ghc-options: -Wall + build-depends: + base, + bytestring, + containers, + miso, + text, + utf8-string + + if !arch(javascript) + build-depends: jsaddle-warp + + if arch(javascript) + build-depends: ghcjs-base + else + build-depends: http-conduit |