rcv-site/rcv-site.cabal
Jack Wines cee339a8ed
beam database (unfinished), overloadedRecordDot, fourmolu, relude
also one fix where the "skip voting and see results" link is broken.
2025-08-25 07:54:36 -07:00

107 lines
1.8 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,
ExtendedDefaultRules,
FlexibleContexts,
FlexibleInstances,
ImpredicativeTypes,
InstanceSigs,
MultiParamTypeClasses,
NoFieldSelectors,
DerivingStrategies,
DerivingVia,
NamedFieldPuns,
OverloadedLabels,
OverloadedRecordDot,
OverloadedLists,
OverloadedStrings,
PartialTypeSignatures,
RankNTypes,
RecordWildCards,
RecursiveDo,
ScopedTypeVariables,
StandaloneDeriving,
StrictData,
TemplateHaskell,
TupleSections,
TypeApplications,
TypeFamilies,
TypeOperators,
TypeSynonymInstances,
UndecidableInstances,
hs-source-dirs:
src
mixins:
base hiding (Prelude),
relude (Relude as Prelude),
relude
build-depends:
acid-state,
aeson,
async,
relude,
base,
beam-core,
beam-migrate,
beam-postgres,
bytestring,
cereal,
commonmark,
containers,
deepseq,
hashable,
http-types,
lucid,
lucid-htmx,
mtl,
network-uri,
random,
safecopy,
servant,
servant-lucid,
servant-server,
splitmix,
text,
uuid,
vector,
wai,
wai-app-static,
wai-extra,
warp
-- warp-tls
default-language:
GHC2021
other-modules:
API
Database
BeamDatabase
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"