1
1
mirror of https://github.com/srid/ema.git synced 2024-12-03 05:44:35 +03:00
ema/ema.cabal

167 lines
3.8 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
-- This flag is enabled by default just so `bin/run` can work on macOS M1.
-- When disabling, ensure that macOS build doesn't break.
flag with-examples
description: Include examples and their dependencies
default: True
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
, profunctors
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
, fsnotify
, 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.Route.Class
2022-03-19 20:58:46 +03:00
Ema.Route.Encoder
Ema.Route.Encoder.Check
Ema.Route.Generic
Ema.Route.Generic.RGeneric
Ema.Route.Generic.Sub
2022-06-28 02:30:31 +03:00
Ema.Route.Lib.File
Ema.Route.Lib.Folder
Ema.Route.Lib.Multi
Ema.Route.Url
2021-04-20 01:23:46 +03:00
Ema.Server
2022-05-21 17:53:28 +03:00
Ema.Site
2022-06-29 00:22:12 +03:00
GHC.TypeLits.Extra
2021-04-21 00:09:37 +03:00
if impl(ghc >=9.2)
exposed-modules: GHC.TypeLits.Extra.Symbol
if (flag(with-examples) && impl(ghc >=9.2))
2022-02-05 20:05:54 +03:00
other-modules:
Ema.Example.Common
Ema.Example.Ex00_Hello
Ema.Example.Ex01_Basic
2022-05-17 03:30:31 +03:00
Ema.Example.Ex02_Clock
2022-05-21 16:48:16 +03:00
Ema.Example.Ex03_Store
Ema.Example.Ex04_Multi
2022-06-29 00:34:51 +03:00
Ema.Example.Ex05_MultiRoute
Ema.Route.Generic.Example
2021-04-19 18:07:52 +03:00
hs-source-dirs: src
default-language: Haskell2010
if impl(ghc >=8.10)
ghc-options: -Wunused-packages