packages feed

glob-posix-0.1.0.0: glob-posix.cabal

name:                glob-posix
version:             0.1.0.0
synopsis:            Haskell bindings for POSIX glob library.
description:         Wrapper for the glob(3) function. The key functions are glob and globMany.
                     GNU extensions are supported but contained in a different module to encourage portability.
homepage:            https://github.com/rdnetto/glob-posix#readme
license:             Apache
license-file:        LICENSE
author:              Reuben D'Netto
maintainer:          rdnetto@gmail.com
copyright:           2016 Reuben D'Netto
category:            System
build-type:          Simple
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     System.Directory.Glob,
                       System.Directory.Glob.GNU,
                       System.Directory.Glob.GNU.Compat
  other-modules:       System.Directory.Glob.Internal
  build-depends:       base >= 4.7 && < 5
  default-language:    Haskell2010
  ghc-options:         -O2 -Wall

test-suite glob-posix-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base,
                       directory,
                       filepath,
                       glob-posix,
                       tasty,
                       tasty-expected-failure,
                       tasty-hunit,
                       unix
  default-language:    Haskell2010
  ghc-options:         -O2 -Wall

benchmark glob-posix-bench
  type:                exitcode-stdio-1.0
  hs-source-dirs:      bench
  main-is:             Bench.hs
  build-depends:       base,
                       criterion,
                       MissingH,
                       Glob,
                       glob-posix
  default-language:    Haskell2010
  ghc-options:         -O2 -Wall


source-repository head
  type:     git
  location: https://github.com/rdnetto/glob-posix