rcv-site/rcv-site.cabal
2023-08-02 00:07:37 -07:00

88 lines
1.5 KiB
Text

cabal-version: 3.0
name: rcv-site
version: 0.1.0.0
category: Web
build-type: Simple
executable rcv-site
main-is:
Main.hs
default-extensions:
DataKinds,
DeriveAnyClass,
DeriveGeneric,
DuplicateRecordFields,
FlexibleContexts,
FlexibleInstances,
ImpredicativeTypes,
ExtendedDefaultRules,
MultiParamTypeClasses,
NamedFieldPuns,
OverloadedLabels,
OverloadedLists,
OverloadedStrings,
PartialTypeSignatures,
RankNTypes,
RecordWildCards,
RecursiveDo,
ScopedTypeVariables,
StandaloneDeriving,
TemplateHaskell,
TupleSections,
TypeApplications,
TypeFamilies,
TypeOperators,
TypeSynonymInstances,
UndecidableInstances,
hs-source-dirs:
src
build-depends:
acid-state,
aeson,
async,
base,
bytestring,
containers,
deepseq,
hashable,
http-types,
lucid,
lucid-htmx,
mtl,
network-uri,
commonmark,
random,
safecopy,
servant,
servant-lucid,
servant-server,
splitmix,
text,
uuid,
vector,
wai,
wai-app-static,
wai-extra,
warp,
warp-tls
default-language:
Haskell2010
other-modules:
API
Database
InstantRunoff
Error
Poll
LucidUtils
Ballot
AppM
ghc-options:
-Wall
-Wcompat
-fwarn-redundant-constraints
-fwarn-incomplete-uni-patterns
-fwarn-tabs
-fwarn-incomplete-record-updates
-fwarn-identities
-threaded
"-with-rtsopts=-I0 -N"