From 8d3fdb08672c89d8657dcd4475acfea56a66b906 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Fri, 31 May 2024 10:42:26 +0200 Subject: add frontend (boilerplate) --- frontend/frontend.cabal | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 frontend/frontend.cabal (limited to 'frontend/frontend.cabal') 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 -- cgit v1.2.3