From b0a54f3bfa4d14888689ee4668df6f083d09836a Mon Sep 17 00:00:00 2001 From: Sandy Maguire Date: Wed, 9 Oct 2019 14:51:03 +0200 Subject: [PATCH] Run core-lint on the plugin tests --- polysemy-plugin/package.yaml | 2 ++ polysemy-plugin/polysemy-plugin.cabal | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/polysemy-plugin/package.yaml b/polysemy-plugin/package.yaml index 35a631a..9627e65 100644 --- a/polysemy-plugin/package.yaml +++ b/polysemy-plugin/package.yaml @@ -36,6 +36,8 @@ tests: - -rtsopts - -with-rtsopts=-N - -fplugin=Polysemy.Plugin + - -dcore-lint + - -dsuppress-all build-tools: - hspec-discover dependencies: diff --git a/polysemy-plugin/polysemy-plugin.cabal b/polysemy-plugin/polysemy-plugin.cabal index 7ff9ca8..6bf698b 100644 --- a/polysemy-plugin/polysemy-plugin.cabal +++ b/polysemy-plugin/polysemy-plugin.cabal @@ -4,7 +4,7 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: 01634ce3c7ac101e60c1a02f8ccad7ec499c02a04b66e5d9dd5993f314318097 +-- hash: 736c186c771b4ab50e8d7cf9a5467675844f3cdb1df336b2d505572263cf01ef name: polysemy-plugin version: 0.2.3.0 @@ -66,7 +66,7 @@ test-suite polysemy-plugin-test hs-source-dirs: test default-extensions: DataKinds DeriveFunctor FlexibleContexts GADTs LambdaCase PolyKinds RankNTypes ScopedTypeVariables StandaloneDeriving TypeApplications TypeOperators TypeFamilies UnicodeSyntax - ghc-options: -threaded -rtsopts -with-rtsopts=-N -fplugin=Polysemy.Plugin + ghc-options: -threaded -rtsopts -with-rtsopts=-N -fplugin=Polysemy.Plugin -dcore-lint -dsuppress-all build-tool-depends: hspec-discover:hspec-discover build-depends: