Skip to content

Commit 070cc26

Browse files
Move markdown-unlit from dependencies to build-tools (#72)
This avoids unused-package warnings and removes the need for empty imports. 🤖 Generated with Claude Code
1 parent 397e08b commit 070cc26

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

Blammo-wai/Blammo-wai.cabal

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 1.18
22

3-
-- This file has been generated from package.yaml by hpack version 0.36.0.
3+
-- This file has been generated from package.yaml by hpack version 0.38.1.
44
--
55
-- see: https://github.com/sol/hpack
66

@@ -73,13 +73,14 @@ test-suite readme
7373
RecordWildCards
7474
TypeApplications
7575
ghc-options: -Weverything -Wno-all-missed-specialisations -Wno-missing-exported-signatures -Wno-missing-import-lists -Wno-missing-local-signatures -Wno-monomorphism-restriction -Wno-safe -Wno-unsafe -pgmL markdown-unlit
76+
build-tool-depends:
77+
markdown-unlit:markdown-unlit
7678
build-depends:
7779
Blammo
7880
, Blammo-wai
7981
, aeson
8082
, base <5
8183
, lens
82-
, markdown-unlit
8384
, text
8485
, wai
8586
, warp

Blammo-wai/README.lhs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import Control.Exception (displayException)
2020
import Control.Monad (when)
2121
import Data.Aeson
2222
import Data.Text (Text)
23-
import Text.Markdown.Unlit ()
2423
import Control.Lens (lens)
2524
```
2625
-->

Blammo-wai/package.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ tests:
6767
- Blammo-wai
6868
- aeson
6969
- lens
70-
- markdown-unlit
7170
- text
7271
- wai
7372
- warp
7473
- yesod-core
74+
build-tools:
75+
- markdown-unlit

Blammo/Blammo.cabal

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 1.18
22

3-
-- This file has been generated from package.yaml by hpack version 0.37.0.
3+
-- This file has been generated from package.yaml by hpack version 0.38.1.
44
--
55
-- see: https://github.com/sol/hpack
66

@@ -95,12 +95,13 @@ test-suite readme
9595
RecordWildCards
9696
TypeApplications
9797
ghc-options: -Weverything -Wno-all-missed-specialisations -Wno-missing-exported-signatures -Wno-missing-import-lists -Wno-missing-local-signatures -Wno-monomorphism-restriction -Wno-safe -Wno-unsafe -pgmL markdown-unlit
98+
build-tool-depends:
99+
markdown-unlit:markdown-unlit
98100
build-depends:
99101
Blammo
100102
, aeson
101103
, base <5
102104
, lens
103-
, markdown-unlit
104105
, mtl
105106
, text
106107
default-language: Haskell2010

Blammo/README.lhs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ import Prelude
3535
import Data.Aeson
3636
import Data.Text (Text)
3737
import GHC.Generics (Generic)
38-
import Text.Markdown.Unlit ()
3938
import Control.Lens (lens)
4039
import Control.Monad.IO.Class (MonadIO)
4140
import Control.Monad.Reader (MonadReader, ReaderT (runReaderT))

Blammo/package.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ tests:
8787
- Blammo
8888
- aeson
8989
- lens
90-
- markdown-unlit
9190
- mtl
9291
- text
92+
build-tools:
93+
- markdown-unlit

0 commit comments

Comments
 (0)