1
1
mirror of https://github.com/srid/ema.git synced 2024-12-04 15:01:40 +03:00
ema/ema.cabal

153 lines
3.3 KiB
Plaintext
Raw Normal View History

2021-04-19 18:07:52 +03:00
cabal-version: 2.4
name: ema
2022-04-07 19:36:09 +03:00
version: 0.7.2.0
2021-04-19 18:07:52 +03:00
license: AGPL-3.0-only
2021-04-26 20:36:34 +03:00
copyright: 2021 Sridhar Ratnakumar
2021-04-19 18:07:52 +03:00
maintainer: srid@srid.ca
author: Sridhar Ratnakumar
category: Web
2021-04-26 21:22:49 +03:00
synopsis: Static site generator library with hot reload
bug-reports: https://github.com/srid/ema/issues
homepage: https://ema.srid.ca/
description:
Ema is a next-gen Haskell library for building jamstack-style static sites.
Ema sites are change-aware; in addition to good ol static site generation,
it provides a live server supporting fast hot-reload in the browser on code
or data change.
2021-04-26 21:28:05 +03:00
extra-source-files:
CHANGELOG.md
LICENSE
README.md
flag with-examples
description: Include examples and their dependencies
default: False
2021-04-19 18:07:52 +03:00
library
-- Modules included in this executable, other than Main.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
build-depends:
, aeson
, async
, base >=4.13.0.0 && <=4.17.0.0
, constraints-extras
2021-04-19 18:07:52 +03:00
, containers
, data-default
, dependent-sum
, dependent-sum-template
2021-04-23 00:08:57 +03:00
, directory
2021-04-19 18:07:52 +03:00
, filepath
, filepattern
, generic-optics
2022-03-09 00:29:50 +03:00
, generics-sop
2021-04-19 18:07:52 +03:00
, http-types
2021-04-26 20:36:34 +03:00
, lvar
, monad-logger
, monad-logger-extras
2022-03-06 18:46:54 +03:00
, mtl
2021-04-19 18:07:52 +03:00
, neat-interpolation
, optics-core
, optparse-applicative
2022-03-19 01:50:23 +03:00
, relude >=1.0
2022-03-09 00:29:50 +03:00
, sop-core
2021-04-19 18:07:52 +03:00
, text
, unliftio
2022-02-05 20:05:54 +03:00
, url-slug
2021-04-19 18:07:52 +03:00
, wai
, wai-middleware-static
2021-04-19 18:07:52 +03:00
, wai-websockets
, warp
, websockets
2021-04-21 00:09:37 +03:00
if flag(with-examples)
build-depends:
, blaze-html
, blaze-markup
, time
2021-04-19 18:07:52 +03:00
mixins:
base hiding (Prelude),
relude (Relude as Prelude, Relude.Container.One),
relude
ghc-options:
-Wall -Wincomplete-record-updates -Wincomplete-uni-patterns
2022-01-30 19:59:27 +03:00
-Wmissing-deriving-strategies -Wunused-foralls -Wunused-foralls
-fprint-explicit-foralls -fprint-explicit-kinds
2021-04-19 18:07:52 +03:00
default-extensions:
2022-01-30 19:59:27 +03:00
NoStarIsType
BangPatterns
ConstraintKinds
DataKinds
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveLift
DeriveTraversable
DerivingStrategies
DerivingVia
EmptyCase
EmptyDataDecls
EmptyDataDeriving
ExistentialQuantification
ExplicitForAll
2021-04-19 18:07:52 +03:00
FlexibleContexts
FlexibleInstances
2022-01-30 19:59:27 +03:00
GADTSyntax
GeneralisedNewtypeDeriving
ImportQualifiedPost
2021-04-19 18:07:52 +03:00
KindSignatures
LambdaCase
MultiParamTypeClasses
MultiWayIf
2022-01-30 19:59:27 +03:00
NumericUnderscores
2021-04-19 18:07:52 +03:00
OverloadedStrings
2022-01-30 19:59:27 +03:00
PolyKinds
PostfixOperators
RankNTypes
2021-04-19 18:07:52 +03:00
ScopedTypeVariables
2022-01-30 19:59:27 +03:00
StandaloneDeriving
StandaloneKindSignatures
2021-04-19 18:07:52 +03:00
TupleSections
2022-01-30 19:59:27 +03:00
TypeApplications
TypeFamilies
TypeOperators
2021-04-19 18:07:52 +03:00
ViewPatterns
2021-04-21 01:14:13 +03:00
exposed-modules:
Ema
Ema.App
Ema.Asset
Ema.CLI
2022-03-06 18:49:59 +03:00
Ema.Dynamic
Ema.Generate
Ema.Model
2022-04-11 01:13:26 +03:00
Ema.Multi
Ema.Route.Class
2022-03-16 01:38:22 +03:00
Ema.Route.CtxPrism
2022-03-19 20:58:46 +03:00
Ema.Route.Encoder
Ema.Route.Generic
2022-03-12 01:28:07 +03:00
Ema.Route.Prefixed
Ema.Route.Url
2021-04-20 01:23:46 +03:00
Ema.Server
2021-04-21 00:09:37 +03:00
if flag(with-examples)
2022-02-05 20:05:54 +03:00
other-modules:
Ema.Example.Common
Ema.Example.Ex01_Basic
2022-03-19 20:58:46 +03:00
Ema.Example.Ex02_Store
2021-04-27 19:59:19 +03:00
Ema.Example.Ex03_Clock
Ema.Example.Ex04_Multi
2021-04-19 18:07:52 +03:00
hs-source-dirs: src
default-language: Haskell2010
if impl(ghc >=8.10)
ghc-options: -Wunused-packages