1
1
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:
Sridhar Ratnakumar 2022-02-05 11:08:00 -05:00
parent 14a069027e
commit 01c93d07d7
4 changed files with 10 additions and 10 deletions

2
.ghcid
View File

@ -1 +1 @@
--warnings -T Ema.Example.Ex03_Clock.main
--warnings -c "cabal repl ema -f with-examples" -T Ema.Example.Ex03_Clock.main

View File

@ -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

View File

@ -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

View File

@ -39,7 +39,6 @@
withHoogle = false;
overrides = self: super: with pkgs.haskell.lib; {
# lvar = self.callCabal2nix "lvar" inputs.lvar { };
# unionmount = self.callCabal2nix "unionmount" inputs.unionmount { };
};
modifier = drv:
pkgs.haskell.lib.addBuildTools drv