mirror of
https://github.com/polysemy-research/polysemy.git
synced 2024-09-11 02:25:43 +03:00
85 lines
1.9 KiB
YAML
85 lines
1.9 KiB
YAML
name: polysemy-plugin
|
|
version: 0.4.5.2
|
|
github: "polysemy-research/polysemy"
|
|
license: BSD3
|
|
author: "Sandy Maguire"
|
|
maintainer: "sandy@sandymaguire.me"
|
|
copyright: "2019 Sandy Maguire"
|
|
build-type: Custom
|
|
|
|
extra-source-files:
|
|
- README.md
|
|
- ChangeLog.md
|
|
|
|
synopsis: Disambiguate obvious uses of effects.
|
|
category: Polysemy
|
|
|
|
description: Please see the README on GitHub at <https://github.com/polysemy-research/polysemy/tree/master/polysemy-plugin#readme>
|
|
|
|
dependencies:
|
|
- base >= 4.9 && < 5
|
|
- ghc >= 8.6.5 && < 10
|
|
- ghc-tcplugins-extra >= 0.3 && < 0.5
|
|
- polysemy >= 1.7
|
|
- syb >= 0.7 && < 0.8
|
|
- transformers >= 0.5.2.0 && < 0.7
|
|
- containers >= 0.5 && < 0.8
|
|
|
|
custom-setup:
|
|
dependencies:
|
|
- base >= 4.9 && < 5
|
|
- Cabal <3.13
|
|
- cabal-doctest >=1.0.6 && <1.1
|
|
|
|
library:
|
|
source-dirs: src
|
|
generated-other-modules:
|
|
- Paths_polysemy_plugin
|
|
|
|
flags:
|
|
corelint:
|
|
description: Perform the corelint tests
|
|
default: False
|
|
manual: True
|
|
|
|
tests:
|
|
polysemy-plugin-test:
|
|
main: Main.hs
|
|
source-dirs: test
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -fplugin=Polysemy.Plugin
|
|
when:
|
|
- condition: flag(corelint)
|
|
ghc-options:
|
|
- -dcore-lint
|
|
- -dsuppress-all
|
|
dependencies:
|
|
- hspec-discover
|
|
- polysemy >= 1.3.0.0
|
|
- polysemy-plugin
|
|
- hspec >= 2.6.0 && < 3
|
|
- should-not-typecheck >= 2.1.0 && < 3
|
|
- inspection-testing >= 0.4.2 && < 0.6
|
|
- doctest >= 0.16.0.1 && < 0.23
|
|
generated-other-modules:
|
|
- Build_doctests
|
|
|
|
default-extensions:
|
|
- DataKinds
|
|
- DeriveFunctor
|
|
- FlexibleContexts
|
|
- GADTs
|
|
- LambdaCase
|
|
- PolyKinds
|
|
- RankNTypes
|
|
- ScopedTypeVariables
|
|
- StandaloneDeriving
|
|
- TypeApplications
|
|
- TypeOperators
|
|
- TypeFamilies
|
|
|
|
- UnicodeSyntax
|