aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/frontend.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/frontend.cabal')
-rw-r--r--frontend/frontend.cabal31
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