1
1
mirror of https://github.com/srid/ema.git synced 2024-09-11 15:05:23 +03:00

Format cabal file

This commit is contained in:
Sridhar Ratnakumar 2022-08-06 16:58:39 -04:00
parent f11077c3f2
commit df6dcdcf32

View File

@ -25,6 +25,7 @@ extra-source-files:
flag with-examples
description: Include examples and their dependencies
default: True
flag with-extra
description: Include non-core functionality
default: True
@ -72,7 +73,8 @@ common extensions
ViewPatterns
library
import: extensions
import: extensions
-- Modules included in this executable, other than Main.
-- other-modules:
@ -103,8 +105,8 @@ library
, relude >=1.0
, sop-core
, template-haskell
, type-errors-pretty
, text
, type-errors-pretty
, unliftio
, url-slug
, wai
@ -117,11 +119,12 @@ library
build-depends:
, blaze-html
, blaze-markup
, fsnotify
, time
, pandoc
, pandoc-types
, commonmark-simple
, fsnotify
, pandoc
, pandoc-types
, time
if flag(with-extra)
build-depends:
, time
@ -138,7 +141,6 @@ library
-fprint-explicit-foralls -fprint-explicit-kinds
-fprint-potential-instances
exposed-modules:
Ema
Ema.App
@ -147,30 +149,31 @@ library
Ema.Dynamic
Ema.Generate
Ema.Route.Class
Ema.Route.Prism
Ema.Route.Prism.Check
Ema.Route.Prism.Type
Ema.Route.Generic
Ema.Route.Generic.Iso
Ema.Route.Generic.RGeneric
Ema.Route.Generic.SubRoute
Ema.Route.Generic.SubModel
Ema.Route.Generic.SubRoute
Ema.Route.Generic.TH
Ema.Route.Generic.Verification
Ema.Route.Generic.Verification.Any
Ema.Route.Lib.File
Ema.Route.Lib.Folder
Ema.Route.Lib.Multi
Ema.Route.Prism
Ema.Route.Prism.Check
Ema.Route.Prism.Type
Ema.Route.Url
Ema.Server
Ema.Site
other-modules:
GHC.TypeLits.Extra
if (flag(with-extra))
other-modules: GHC.TypeLits.Extra
if flag(with-extra)
exposed-modules:
Ema.Route.Lib.Extra.StaticRoute
Ema.Route.Lib.Extra.MarkdownRoute
Ema.Route.Lib.Extra.StaticRoute
if impl(ghc >=9.2)
other-modules: GHC.TypeLits.Extra.Symbol
@ -185,30 +188,27 @@ library
Ema.Example.Ex05_MultiRoute
Ema.Route.Generic.Example
hs-source-dirs: src
default-language: Haskell2010
hs-source-dirs: src
default-language: Haskell2010
if impl(ghc >=8.10)
ghc-options: -Wunused-packages
test-suite test-type-errors
import: extensions
import: extensions
build-depends:
base,
ema,
template-haskell,
text,
generics-sop,
raw-strings-qq,
url-slug
, base
, ema
, generics-sop
, raw-strings-qq
, template-haskell
, text
, url-slug
other-modules:
Deriving
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test/type-errors
other-modules: Deriving
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test/type-errors
default-language: Haskell2010
if impl(ghc >=8.10)