mirror of
https://github.com/srid/ema.git
synced 2024-11-25 20:12:20 +03:00
Disable examples by default
This, in addition previous commits, resolves #68
This commit is contained in:
parent
14a069027e
commit
01c93d07d7
2
.ghcid
2
.ghcid
@ -1 +1 @@
|
||||
--warnings -T Ema.Example.Ex03_Clock.main
|
||||
--warnings -c "cabal repl ema -f with-examples" -T Ema.Example.Ex03_Clock.main
|
||||
|
12
CHANGELOG.md
12
CHANGELOG.md
@ -3,11 +3,13 @@
|
||||
## Unreleased
|
||||
|
||||
- Websocket API: Add `ema.switchRoute` to switch to other routes in live server.
|
||||
- Helpers
|
||||
- `Ema.Helpers.PathTree` moved to separate package *pathtree*.
|
||||
- `Ema.Helpers.FileSystem` moved to separate package *unionmount*.
|
||||
- `Ema.Helpers.Markdown` moved to separate package *commonmark-simple*.
|
||||
- `Ema.Helpers.Blaze` is no more. See `ema-template` if you need a ready made template using blaze HTML and TailwindCSS.
|
||||
- Smaller core: remove helpers and examples (examples can be enabled by a flag)
|
||||
- Helpers
|
||||
- `Ema.Helpers.PathTree` moved to separate package *pathtree*.
|
||||
- `Ema.Helpers.FileSystem` moved to separate package *unionmount*.
|
||||
- `Ema.Helpers.Markdown` moved to separate package *commonmark-simple*.
|
||||
- `Ema.Helpers.Blaze` is no more. See `ema-template` if you need a ready made template using blaze HTML and TailwindCSS.
|
||||
- Examples `with-examples` cabal flag is made False by default.
|
||||
|
||||
## 0.4.0.0 -- 2022-01-19
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
cabal-version: 2.4
|
||||
name: ema
|
||||
version: 0.5.4.0
|
||||
version: 0.5.4.1
|
||||
license: AGPL-3.0-only
|
||||
copyright: 2021 Sridhar Ratnakumar
|
||||
maintainer: srid@srid.ca
|
||||
@ -22,7 +22,7 @@ extra-source-files:
|
||||
|
||||
flag with-examples
|
||||
description: Include examples and their dependencies
|
||||
default: True
|
||||
default: False
|
||||
|
||||
library
|
||||
-- Modules included in this executable, other than Main.
|
||||
@ -51,7 +51,6 @@ library
|
||||
, relude >=0.7 && <1.0
|
||||
, text
|
||||
, unicode-transforms
|
||||
, unionmount
|
||||
, unliftio
|
||||
, uri-encode
|
||||
, wai
|
||||
|
Loading…
Reference in New Issue
Block a user