cabal-version: 2.2

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

name:           vcs-ignore
version:        0.0.1.0
synopsis:       Library for handling files ignored by VCS systems.
description:    vcs-ignore is small Haskell library used to find, check and process files ignored by selected VCS.
category:       Development
homepage:       https://github.com/vaclavsvejcar/vcs-ignore
bug-reports:    https://github.com/vaclavsvejcar/vcs-ignore/issues
author:         Vaclav Svejcar
maintainer:     vaclav.svejcar@gmail.com
copyright:      Copyright (c) 2020-2021 Vaclav Svejcar
license:        BSD-3-Clause
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    CHANGELOG.md
    test-data/fake-git-repo/.gitignore
    test-data/fake-git-repo/a/test-a.txt
    test-data/fake-git-repo/a/test-a.xml
    test-data/fake-git-repo/a/.gitignore
    test-data/fake-git-repo/a/b/test-b.txt
    test-data/fake-git-repo/a/b/test-b.xml
    test-data/fake-git-repo/a/b/.gitignore
    test-data/list-files/a.txt
    test-data/list-files/dir1/b.txt
    test-data/list-files/dir1/dir2/c.txt
    test-data/list-files/dir1/dir2/d.xml

source-repository head
  type: git
  location: https://github.com/vaclavsvejcar/vcs-ignore

library
  exposed-modules:
      Data.VCS.Ignore
      Data.VCS.Ignore.Core
      Data.VCS.Ignore.FileSystem
      Data.VCS.Ignore.Repo
      Data.VCS.Ignore.Repo.Git
      Data.VCS.Ignore.Types
  other-modules:
      Paths_vcs_ignore
  autogen-modules:
      Paths_vcs_ignore
  hs-source-dirs:
      src
  ghc-options: -optP-Wno-nonportable-include-path -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints -Werror=incomplete-patterns
  build-depends:
      Glob
    , base >=4.7 && <5
    , containers
    , directory
    , exceptions
    , filepath
    , text
  default-language: Haskell2010

executable ignore
  main-is: Main.hs
  other-modules:
      Main.Options
      Main.Vendor
      Paths_vcs_ignore
  hs-source-dirs:
      app
  ghc-options: -optP-Wno-nonportable-include-path -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints -Werror=incomplete-patterns -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , containers
    , directory
    , exceptions
    , filepath
    , optparse-applicative
    , text
    , vcs-ignore
  default-language: Haskell2010

test-suite doctest
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      Paths_vcs_ignore
  hs-source-dirs:
      doctest
  ghc-options: -optP-Wno-nonportable-include-path -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints -Werror=incomplete-patterns
  build-depends:
      base >=4.7 && <5
    , containers
    , directory
    , doctest
    , exceptions
    , filepath
    , text
  default-language: Haskell2010

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Data.VCS.Ignore.CoreSpec
      Data.VCS.Ignore.FileSystemSpec
      Data.VCS.Ignore.Repo.GitSpec
      Paths_vcs_ignore
  hs-source-dirs:
      test
  ghc-options: -optP-Wno-nonportable-include-path -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints -Werror=incomplete-patterns -threaded -rtsopts -with-rtsopts=-N
  build-tool-depends:
      hspec-discover:hspec-discover
  build-depends:
      base >=4.7 && <5
    , containers
    , directory
    , exceptions
    , filepath
    , hspec
    , text
    , vcs-ignore
  default-language: Haskell2010