cabal-version:       3.0

name:                qualified-imports-plugin
synopsis:            GHC plugin to automatically insert qualified imports
description:         Please see README.md.
version:             0.0.1
homepage:            https://github.com/utdemir/qualified-imports-plugin
license:             BSD-3-Clause
author:              Utku Demir
maintainer:          Utku Demir
copyright:           Utku Demir
category:            Relude
build-type:          Simple

extra-source-files:  README.md

library
  hs-source-dirs:      src
  default-language:    Haskell2010
  exposed-modules:     QualifiedImportsPlugin
  ghc-options:         -Wall -fno-warn-name-shadowing
  build-depends:       base >= 4.11 && < 5
                     , ghc >= 8.10
                     , syb
                     , containers

test-suite tests
  type:             exitcode-stdio-1.0
  hs-source-dirs:   test
  main-is:          Test.hs
  other-modules:    Test1
                  , Test2
  default-language: Haskell2010
  ghc-options:      -Wall -threaded
                    -fplugin=QualifiedImportsPlugin
  build-depends:    base >=4.11 && < 5
                  , qualified-imports-plugin
                  , text