matrix-media-expanded/haskell-template.cabal
EvanPiro df6efcff60
bin/test: run test, and reload on library change (#32)
* test script now runs on test file update

* added src to cabal tests to get auto reload

* fixed formatting

* removed unneeded test dependency

* fixed cabal formatting issue

* Remove library stanza; no longer needed

* hs-source-dirs belongs to shared

Because we are sharing 'src'

* Fix compilation

* Move other-modules as well.

Co-authored-by: Sridhar Ratnakumar <srid@srid.ca>
2022-08-08 11:02:43 -04:00

107 lines
2.2 KiB
Text

cabal-version: 2.4
name: haskell-template
version: 0.1.0.0
license: MIT
copyright: 2022 Sridhar Ratnakumar
maintainer: srid@srid.ca
author: Sridhar Ratnakumar
category: Web
-- TODO: Before hackage release.
-- A short (one-line) description of the package.
-- synopsis:
-- A longer description of the package.
-- description:
-- A URL where users can report bugs.
-- bug-reports:
extra-source-files:
LICENSE
README.md
common shared
ghc-options:
-Wall -Wincomplete-record-updates -Wincomplete-uni-patterns
-Wmissing-deriving-strategies -Wunused-foralls -Wunused-foralls
-fprint-explicit-foralls -fprint-explicit-kinds
mixins:
base hiding (Prelude),
relude (Relude as Prelude, Relude.Container.One),
relude
default-extensions:
NoStarIsType
BangPatterns
ConstraintKinds
DataKinds
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveLift
DeriveTraversable
DerivingStrategies
DerivingVia
EmptyCase
EmptyDataDecls
EmptyDataDeriving
ExistentialQuantification
ExplicitForAll
FlexibleContexts
FlexibleInstances
GADTSyntax
GeneralisedNewtypeDeriving
ImportQualifiedPost
KindSignatures
LambdaCase
MultiParamTypeClasses
MultiWayIf
NumericUnderscores
OverloadedStrings
PolyKinds
PostfixOperators
RankNTypes
ScopedTypeVariables
StandaloneDeriving
StandaloneKindSignatures
TupleSections
TypeApplications
TypeFamilies
TypeOperators
ViewPatterns
build-depends:
, aeson
, async
, base >=4.13.0.0 && <=4.18.0.0
, bytestring
, containers
, data-default
, directory
, filepath
, mtl
, optics-core
, profunctors
, relude
, shower
, text
, time
, with-utf8
hs-source-dirs: src
other-modules: Lib
executable haskell-template
import: shared
main-is: Main.hs
default-language: Haskell2010
test-suite tests
import: shared
main-is: Spec.hs
type: exitcode-stdio-1.0
hs-source-dirs: tests
build-depends: hspec