Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions graphula.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

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

Expand Down Expand Up @@ -78,13 +78,14 @@ test-suite readme
hs-source-dirs:
test
ghc-options: -Weverything -Wno-all-missed-specialisations -Wno-implicit-prelude -Wno-missing-import-lists -Wno-safe -Wno-unsafe -pgmL markdown-unlit
build-tool-depends:
markdown-unlit:markdown-unlit
build-depends:
QuickCheck
, base <5
, generic-arbitrary
, graphula
, hspec
, markdown-unlit
, monad-logger
, persistent
, persistent-sqlite
Expand Down
11 changes: 2 additions & 9 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,13 @@ description: Please see README.md
extra-source-files:
- README.md
- CHANGELOG.md

ghc-options:
- -Weverything
- -Wno-all-missed-specialisations
- -Wno-implicit-prelude
- -Wno-missing-import-lists
- -Wno-safe
- -Wno-unsafe

when:
- condition: impl(ghc >= 9.8)
ghc-options:
Expand All @@ -33,10 +31,8 @@ when:
- condition: impl(ghc < 8.6)
ghc-options:
- -Wno-redundant-constraints

dependencies:
- base < 5

library:
source-dirs:
- src
Expand All @@ -54,35 +50,32 @@ library:
- text
- unliftio
- unliftio-core

tests:
readme:
main: README.lhs
ghc-options: -pgmL markdown-unlit
source-dirs:
- test

dependencies:
- QuickCheck
- generic-arbitrary
- graphula
- hspec
- markdown-unlit
- monad-logger
- persistent
- persistent-sqlite
- resourcet
- transformers
- unliftio-core

when:
- condition: impl(ghc >= 8.8)
ghc-options:
- -Wno-missing-deriving-strategies
- condition: "flag(persistent-template)"
dependencies:
- persistent-template

build-tools:
- markdown-unlit
flags:
persistent-template:
description: Include dependency on persistent-template
Expand Down
1 change: 0 additions & 1 deletion test/README.lhs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ import Graphula
import Test.Hspec
import Test.QuickCheck
import Test.QuickCheck.Arbitrary.Generic
import Text.Markdown.Unlit ()

instance (ToBackendKey SqlBackend a) => Arbitrary (Key a) where
arbitrary = toSqlKey <$> arbitrary
Expand Down
Loading