2021-04-19 18:07:52 +03:00
|
|
|
cabal-version: 2.4
|
|
|
|
name: ema
|
|
|
|
version: 0.1.0.0
|
|
|
|
license: AGPL-3.0-only
|
|
|
|
copyright: 2020 Sridhar Ratnakumar
|
|
|
|
maintainer: srid@srid.ca
|
|
|
|
author: Sridhar Ratnakumar
|
|
|
|
category: Web
|
|
|
|
|
2021-04-20 19:36:53 +03:00
|
|
|
flag with-examples
|
|
|
|
description: Include examples and their dependencies
|
2021-04-21 00:09:37 +03:00
|
|
|
default: True
|
2021-04-20 19:36:53 +03:00
|
|
|
|
2021-04-19 18:07:52 +03:00
|
|
|
-- 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:
|
|
|
|
CHANGELOG.md
|
|
|
|
LICENSE
|
2021-04-19 18:36:51 +03:00
|
|
|
README.md
|
2021-04-19 18:07:52 +03:00
|
|
|
|
2021-04-20 22:04:48 +03:00
|
|
|
data-files:
|
2021-04-21 00:09:37 +03:00
|
|
|
flag(with-examples)
|
|
|
|
if
|
|
|
|
src/Ema/Example/Diary/*.org
|
2021-04-20 22:04:48 +03:00
|
|
|
|
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
|
2021-04-22 22:57:31 +03:00
|
|
|
, base ^>=4.14.1.0
|
2021-04-19 18:07:52 +03:00
|
|
|
, blaze-html
|
|
|
|
, blaze-markup
|
|
|
|
, containers
|
|
|
|
, data-default
|
|
|
|
, filepath
|
|
|
|
, http-types
|
|
|
|
, neat-interpolation
|
2021-04-22 22:57:31 +03:00
|
|
|
, optparse-applicative
|
2021-04-19 18:07:52 +03:00
|
|
|
, relude
|
2021-04-20 03:05:18 +03:00
|
|
|
, safe-exceptions
|
2021-04-19 18:07:52 +03:00
|
|
|
, stm
|
|
|
|
, text
|
|
|
|
, wai
|
|
|
|
, wai-app-static
|
|
|
|
, wai-websockets
|
|
|
|
, warp
|
|
|
|
, websockets
|
2021-04-21 00:09:37 +03:00
|
|
|
|
2021-04-20 19:36:53 +03:00
|
|
|
if flag(with-examples)
|
|
|
|
build-depends:
|
2021-04-20 22:04:48 +03:00
|
|
|
, directory
|
2021-04-21 00:09:37 +03:00
|
|
|
, filepattern
|
|
|
|
, fsnotify
|
2021-04-20 22:04:48 +03:00
|
|
|
, org-mode
|
|
|
|
, shower
|
2021-04-21 00:09:37 +03:00
|
|
|
, 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
|
|
|
|
|
|
|
|
default-extensions:
|
|
|
|
FlexibleContexts
|
|
|
|
FlexibleInstances
|
|
|
|
KindSignatures
|
|
|
|
LambdaCase
|
|
|
|
MultiParamTypeClasses
|
|
|
|
MultiWayIf
|
|
|
|
OverloadedStrings
|
|
|
|
ScopedTypeVariables
|
|
|
|
TupleSections
|
|
|
|
ViewPatterns
|
|
|
|
|
2021-04-21 01:14:13 +03:00
|
|
|
exposed-modules:
|
2021-04-21 00:09:37 +03:00
|
|
|
Data.LVar
|
2021-04-19 18:07:52 +03:00
|
|
|
Ema.App
|
2021-04-22 23:39:06 +03:00
|
|
|
Ema.Class
|
|
|
|
Ema.CLI
|
|
|
|
Ema.Generate
|
2021-04-21 23:15:58 +03:00
|
|
|
Ema.Helper.Tailwind
|
2021-04-19 18:07:52 +03:00
|
|
|
Ema.Route
|
2021-04-21 01:14:13 +03:00
|
|
|
|
|
|
|
other-modules:
|
2021-04-19 22:34:10 +03:00
|
|
|
Ema.Route.Slug
|
|
|
|
Ema.Route.UrlStrategy
|
2021-04-20 01:23:46 +03:00
|
|
|
Ema.Server
|
2021-04-21 00:09:37 +03:00
|
|
|
|
2021-04-20 19:36:53 +03:00
|
|
|
if flag(with-examples)
|
|
|
|
other-modules:
|
|
|
|
Ema.Example.Ex01_HelloWorld
|
|
|
|
Ema.Example.Ex02_Clock
|
|
|
|
Ema.Example.Ex03_Diary
|
2021-04-19 18:07:52 +03:00
|
|
|
|
|
|
|
hs-source-dirs: src
|
|
|
|
default-language: Haskell2010
|