add frontend (boilerplate)

This commit is contained in:
Alexander Foremny
2024-05-31 10:42:26 +02:00
parent ec0ea18486
commit 8d3fdb0867
9 changed files with 168 additions and 12 deletions

31
frontend/frontend.cabal Normal file
View File

@@ -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